Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 173.2 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.2 MB / 0.7949 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008851, allocations: 88.33 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 14.25 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.5162, allocations: 149.4 MB / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5165, allocations: 75.89 kB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005493/0.522, allocations: 1.787 MB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5221, allocations: 4 kB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.5221, allocations: 0 / 1.371 GB, free: 10.82 MB / 0.8698 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.0004338/0.5225, allocations: 373 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5226, allocations: 12.03 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.5226, allocations: 7.938 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.5228, allocations: 163 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.5228, allocations: 4 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.5228, allocations: 4 kB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.523, allocations: 41.69 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.523, allocations: 0 / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.523, allocations: 0 / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.523, allocations: 4 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.5231, allocations: 3.938 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.5236, allocations: 296.8 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.7e-05/0.5237, allocations: 14.58 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.5237, allocations: 4 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.5239, allocations: 63.36 kB / 1.372 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.5239, allocations: 0 / 1.372 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002261/0.5241, allocations: 65.62 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.5242, allocations: 51.41 kB / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.5243, allocations: 104.9 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.5243, allocations: 29.7 kB / 1.372 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.5244, allocations: 92.12 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.5244, allocations: 3.906 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.5244, allocations: 4 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5245, allocations: 318.8 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.5246, allocations: 27.98 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.5247, allocations: 46.81 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.986e-05/0.5248, allocations: 61.69 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5248, allocations: 0 / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002443/0.525, allocations: 135.5 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.5251, allocations: 42.42 kB / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5251, allocations: 0 / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5251, allocations: 8.047 kB / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-05/0.5252, allocations: 4 kB / 1.372 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5252, allocations: 3.984 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.5254, allocations: 47.91 kB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.5254, allocations: 11.89 kB / 1.373 GB, free: 8.562 MB / 0.8698 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.04e-05/0.5255, allocations: 113.8 kB / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.5255, allocations: 0 / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.5256, allocations: 7.906 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5256, allocations: 3.984 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5256, allocations: 4 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5256, allocations: 0 / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.5257, allocations: 161.6 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5257, allocations: 0 / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-06/0.5257, allocations: 0 / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5257, allocations: 0 / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.5258, allocations: 3.938 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5258, allocations: 3.984 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5258, allocations: 3.984 kB / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.5259, allocations: 89.02 kB / 1.373 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.526, allocations: 81.02 kB / 1.373 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.526, allocations: 0 / 1.373 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.526, allocations: 8 kB / 1.373 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.5261, allocations: 3.984 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.5261, allocations: 0 / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.5261, allocations: 79.28 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5261, allocations: 0 / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002209/0.5264, allocations: 28 kB / 1.373 GB, free: 7.879 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.5266, allocations: 115 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.5268, allocations: 123.3 kB / 1.373 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5268, allocations: 0 / 1.373 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.5268, allocations: 4 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.527, allocations: 21.48 kB / 1.373 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.5274, allocations: 127 kB / 1.373 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.5276, allocations: 0.6848 MB / 1.374 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.861e-05/0.5277, allocations: 3.938 kB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.5277, allocations: 11.44 kB / 1.374 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.5277, allocations: 0 / 1.374 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of Templates: time 0.003681/0.5314, allocations: 0.9631 MB / 1.375 GB, free: 5.77 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches