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.204/2.204, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001167/0.001167, allocations: 180.7 kB / 487.4 MB, free: 5.047 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: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 95.84 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.997e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2651, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8728/1.138, allocations: 148.6 MB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/1.138, allocations: 68.83 kB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005529/1.144, allocations: 1.777 MB / 1.353 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.144, allocations: 0 / 1.353 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.144, allocations: 0 / 1.353 GB, free: 33.99 MB / 0.8386 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.000306/1.144, allocations: 360.2 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.144, allocations: 10.39 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/1.144, allocations: 10.31 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.136e-05/1.144, allocations: 168.9 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/1.144, allocations: 9.25 kB / 1.353 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/1.144, allocations: 8.75 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.817e-05/1.144, allocations: 2.562 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.866e-05/1.144, allocations: 35.78 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.145, allocations: 0 / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/1.145, allocations: 0.5625 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.145, allocations: 5.25 kB / 1.354 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/1.145, allocations: 268.8 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/1.145, allocations: 21.94 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/1.145, allocations: 10.48 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/1.145, allocations: 0 / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/1.145, allocations: 56.5 kB / 1.354 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/1.145, allocations: 0 / 1.354 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/1.145, allocations: 55.05 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/1.145, allocations: 55.92 kB / 1.354 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/1.145, allocations: 104.4 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/1.145, allocations: 29.52 kB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/1.146, allocations: 81.31 kB / 1.354 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-06/1.146, allocations: 6.562 kB / 1.354 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.146, allocations: 0 / 1.354 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.146, allocations: 319.8 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/1.146, allocations: 25.67 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/1.146, allocations: 46.7 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/1.146, allocations: 29.52 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.146, allocations: 3.875 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002601/1.146, allocations: 116.9 kB / 1.355 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/1.146, allocations: 38.22 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.146, allocations: 0 / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.146, allocations: 4.094 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.656e-05/1.146, allocations: 4.641 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.146, allocations: 1.688 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/1.147, allocations: 31.5 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/1.147, allocations: 9.375 kB / 1.355 GB, free: 32.31 MB / 0.8386 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 7.956e-05/1.147, allocations: 122.4 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/1.147, allocations: 0.7031 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/1.147, allocations: 5 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/1.147, allocations: 3.938 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.147, allocations: 3.875 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.147, allocations: 0.75 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.254e-05/1.147, allocations: 143.2 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.147, allocations: 0 / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/1.147, allocations: 0 / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.147, allocations: 0.6094 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/1.147, allocations: 7.938 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.147, allocations: 2.312 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.147, allocations: 0 / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.289e-05/1.147, allocations: 79.36 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/1.147, allocations: 81.72 kB / 1.355 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/1.147, allocations: 8.453 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/1.147, allocations: 0.6562 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/1.147, allocations: 5.406 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.147, allocations: 7.812 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.164e-05/1.147, allocations: 83.5 kB / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/1.147, allocations: 0 / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000197/1.147, allocations: 19.97 kB / 1.355 GB, free: 31.76 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.0001339/1.148, allocations: 113 kB / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001515/1.148, allocations: 109.9 kB / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.148, allocations: 0 / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/1.148, allocations: 19.91 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/1.148, allocations: 5.781 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001728/1.148, allocations: 72.64 kB / 1.356 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/1.148, allocations: 0.681 MB / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.085e-05/1.148, allocations: 0.7031 kB / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/1.148, allocations: 12.14 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.148, allocations: 0 / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.003206/1.152, allocations: 0.9114 MB / 1.357 GB, free: 30.72 MB / 0.8386 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