Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.193/2.193, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001038/0.001038, allocations: 184.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009798/0.0009796, allocations: 84 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.335e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3459, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.412, allocations: 150.1 MB / 1.365 GB, free: 3.887 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/1.413, allocations: 72.02 kB / 1.365 GB, free: 3.848 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005095/1.418, allocations: 1.782 MB / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.295e-06/1.418, allocations: 0 / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.418, allocations: 4 kB / 1.367 GB, free: 2.293 MB / 0.823 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.000413/1.418, allocations: 370.8 kB / 1.368 GB, free: 1.887 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.418, allocations: 8.031 kB / 1.368 GB, free: 1.879 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/1.418, allocations: 8.562 kB / 1.368 GB, free: 1.871 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.419, allocations: 170.9 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/1.419, allocations: 0 / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/1.419, allocations: 4 kB / 1.368 GB, free: 1.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/1.419, allocations: 41.19 kB / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/1.419, allocations: 0 / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/1.419, allocations: 4 kB / 1.368 GB, free: 1.613 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.419, allocations: 0 / 1.368 GB, free: 1.613 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/1.419, allocations: 7.625 kB / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/1.419, allocations: 288.1 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.783e-05/1.419, allocations: 26 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/1.419, allocations: 12.91 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/1.419, allocations: 4 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.419, allocations: 54.66 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/1.419, allocations: 0 / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001629/1.42, allocations: 59.69 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.42, allocations: 55.36 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/1.42, allocations: 99.98 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.42, allocations: 29.14 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/1.42, allocations: 92.05 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.876e-06/1.42, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/1.42, allocations: 7.438 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.42, allocations: 314.8 kB / 1.369 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/1.42, allocations: 26.38 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/1.42, allocations: 52.06 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/1.42, allocations: 56.25 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.42, allocations: 0 / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002353/1.42, allocations: 144.7 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/1.421, allocations: 33.7 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.421, allocations: 7.875 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.421, allocations: 0 / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/1.421, allocations: 3.984 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.421, allocations: 4 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/1.421, allocations: 42.95 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/1.421, allocations: 4 kB / 1.369 GB, free: 164 kB / 0.823 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 () * 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 8.305e-05/1.421, allocations: 105 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/1.421, allocations: 4 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/1.421, allocations: 7.594 kB / 1.369 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.421, allocations: 3.984 kB / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.421, allocations: 4 kB / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.421, allocations: 0 / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.421, allocations: 161.1 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.421, allocations: 0 / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-06/1.421, allocations: 0 / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.421, allocations: 0 / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.421, allocations: 0.875 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.421, allocations: 7.984 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.421, allocations: 0 / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/1.421, allocations: 87.8 kB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/1.421, allocations: 81.11 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/1.421, allocations: 0 / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/1.421, allocations: 3.5 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/1.421, allocations: 4.297 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/1.421, allocations: 4 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.378e-05/1.421, allocations: 86.41 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.421, allocations: 0 / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001894/1.422, allocations: 16 kB / 1.37 GB, free: 15.52 MB / 0.8386 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 () * 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.0001599/1.422, allocations: 119.2 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002027/1.422, allocations: 124.5 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.422, allocations: 0 / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/1.422, allocations: 11.98 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/1.422, allocations: 16.97 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/1.422, allocations: 64.11 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/1.423, allocations: 0.6887 MB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.988e-05/1.423, allocations: 3.938 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/1.423, allocations: 18.56 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.423, allocations: 0 / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.003263/1.426, allocations: 0.9694 MB / 1.372 GB, free: 13.49 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches