Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 215.4 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.792/2.792, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.11 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3259, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001883/0.3278, allocations: 0.5848 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3295, allocations: 1.129 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.3295, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.3295, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.3296, allocations: 7.938 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.3301, allocations: 122.1 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.3303, allocations: 87.88 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3304, allocations: 4 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.3304, allocations: 39.84 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.3305, allocations: 27.95 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3306, allocations: 8 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.3306, allocations: 15.98 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.3307, allocations: 11.94 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.3307, allocations: 19.98 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3309, allocations: 87.72 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3309, allocations: 4 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3309, allocations: 0 / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3309, allocations: 4 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005103/0.3314, allocations: 295.9 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3315, allocations: 12.03 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.3315, allocations: 4.938 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3316, allocations: 114.5 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3316, allocations: 4.375 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3317, allocations: 4.375 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3318, allocations: 67.89 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3318, allocations: 4.188 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.3318, allocations: 7.938 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3318, allocations: 0 / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.3318, allocations: 4 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.3322, allocations: 224.5 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.778e-05/0.3323, allocations: 18.58 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.3323, allocations: 4.859 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3323, allocations: 11.94 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.3325, allocations: 85.09 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3325, allocations: 4 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001985/0.3327, allocations: 57.69 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3327, allocations: 51.41 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3328, allocations: 117.8 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3329, allocations: 33.64 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.3329, allocations: 84.14 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.333, allocations: 7.953 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.333, allocations: 33.69 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3332, allocations: 310.8 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3333, allocations: 61.69 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3334, allocations: 76.25 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3335, allocations: 88.2 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3335, allocations: 4 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002725/0.3338, allocations: 172.9 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.3338, allocations: 41.69 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3338, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3338, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.3339, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3339, allocations: 4 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3341, allocations: 32 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.3341, allocations: 4 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.3342, allocations: 117.8 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3342, allocations: 11.89 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3342, allocations: 4.234 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3343, allocations: 3.984 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3343, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3343, allocations: 3.938 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.3344, allocations: 109.3 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3344, allocations: 4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.3344, allocations: 3.938 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3344, allocations: 0 / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.3344, allocations: 3.938 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.3344, allocations: 3.938 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3344, allocations: 7.984 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.3345, allocations: 77.11 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.3345, allocations: 7.938 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.3345, allocations: 320 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.3345, allocations: 0 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.3346, allocations: 8 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3346, allocations: 11.98 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.3346, allocations: 79.28 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3346, allocations: 0 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002061/0.3348, allocations: 19.95 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.335, allocations: 103.2 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3352, allocations: 137 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3352, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.3352, allocations: 12 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.3354, allocations: 14.06 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.3358, allocations: 163.9 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.972e-05/0.3358, allocations: 63.34 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.3359, allocations: 7.438 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3359, allocations: 0 / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of Templates: time 0.002707/0.3386, allocations: 0.8938 MB / 1.29 GB, free: 5.508 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.076645366381854]