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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 91.77 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009194/0.009194, allocations: 168 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.833/2.833, allocations: 462.7 MB / 0.7364 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 12.14 kB / 0.9028 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3779, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008418/0.3788, allocations: 329.8 kB / 1.059 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3802, allocations: 1.116 MB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.3803, allocations: 4 kB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.3803, allocations: 0 / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.3804, allocations: 7.922 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.3808, allocations: 114.8 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.381, allocations: 75.89 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.3811, allocations: 7.938 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.3811, allocations: 23.98 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.3812, allocations: 27.89 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3812, allocations: 8 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.446e-05/0.3813, allocations: 11.98 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.3813, allocations: 8 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.3814, allocations: 53.61 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3816, allocations: 79.72 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3816, allocations: 0 / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3816, allocations: 0 / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.3816, allocations: 0 / 1.06 GB, free: 3.648 MB / 0.8106 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.0004073/0.382, allocations: 365.4 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.382, allocations: 8.031 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.3821, allocations: 8.844 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3822, allocations: 168.4 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3823, allocations: 384 / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.3823, allocations: 12.38 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.579e-05/0.3824, allocations: 38.25 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.3824, allocations: 192 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3824, allocations: 3.938 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3824, allocations: 0 / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.3825, allocations: 11.94 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.3828, allocations: 276.9 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/0.3829, allocations: 30.52 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.3829, allocations: 8.844 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3829, allocations: 4.062 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.383, allocations: 59.33 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3831, allocations: 0 / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001753/0.3832, allocations: 69.58 kB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3833, allocations: 55.41 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.3834, allocations: 105.8 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3834, allocations: 29.7 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.3835, allocations: 84.14 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.3835, allocations: 11.84 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.3835, allocations: 17.72 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3836, allocations: 318.8 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.3837, allocations: 27.98 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.3838, allocations: 54.5 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.3839, allocations: 84.2 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3839, allocations: 3.938 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002216/0.3841, allocations: 139.3 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.3842, allocations: 37.69 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3842, allocations: 4 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3842, allocations: 4.094 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.022e-05/0.3842, allocations: 320 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3843, allocations: 7.938 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3845, allocations: 39.91 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3845, allocations: 7.984 kB / 1.062 GB, free: 1.324 MB / 0.8106 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 8.531e-05/0.3846, allocations: 123.3 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.3846, allocations: 8.141 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.3847, allocations: 3.906 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3847, allocations: 3.984 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3847, allocations: 0 / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3847, allocations: 0 / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.3848, allocations: 165.6 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3848, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-06/0.3848, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3848, allocations: 4 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3848, allocations: 4 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3848, allocations: 0 / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3848, allocations: 0 / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.385, allocations: 84.98 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.385, allocations: 81.11 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.385, allocations: 4 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.385, allocations: 0 / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.3851, allocations: 4 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3851, allocations: 4 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.3851, allocations: 83.27 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3851, allocations: 0 / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002039/0.3853, allocations: 23.91 kB / 1.063 GB, free: 0.6406 MB / 0.8106 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.0001328/0.3855, allocations: 95.25 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.3857, allocations: 119.3 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3857, allocations: 4.188 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.3857, allocations: 19.92 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.3859, allocations: 18.81 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.3862, allocations: 122.7 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3865, allocations: 0.677 MB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.781e-05/0.3865, allocations: 4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.3865, allocations: 11.44 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3865, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.003649/0.3902, allocations: 1.022 MB / 1.065 GB, free: 14.5 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches