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.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.001082/0.001082, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001245/0.001245, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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 0.9677/0.9677, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.073/2.073, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0.5469 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.758e-05, allocations: 3 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001807/0.001834, allocations: 0.6074 MB / 0.8788 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.003481, allocations: 1.159 MB / 0.8799 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.003535, allocations: 0 / 0.8799 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.003565, allocations: 0.9688 kB / 0.8799 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.003644, allocations: 8.75 kB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.004155, allocations: 124.3 kB / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004329, allocations: 92.69 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.004428, allocations: 5.094 kB / 0.8801 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.004546, allocations: 43.97 kB / 0.8801 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004647, allocations: 27.94 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.004675, allocations: 9.125 kB / 0.8802 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.004745, allocations: 16 kB / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.004768, allocations: 11.92 kB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.004827, allocations: 25.08 kB / 0.8802 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.005141, allocations: 67.84 kB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005144, allocations: 0 / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.51e-07/0.005145, allocations: 0.9688 kB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.005155, allocations: 7.984 kB / 0.8803 GB, free: 4.453 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.0004979/0.005653, allocations: 402.3 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.005699, allocations: 12.78 kB / 0.8807 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.005766, allocations: 12.83 kB / 0.8807 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.005869, allocations: 113.2 kB / 0.8808 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.00589, allocations: 3.812 kB / 0.8808 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.005911, allocations: 4.375 kB / 0.8808 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.006019, allocations: 67.95 kB / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.006027, allocations: 192 / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.006038, allocations: 384 / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.006048, allocations: 4.312 kB / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.006069, allocations: 7.938 kB / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.006448, allocations: 283.7 kB / 0.8812 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.006501, allocations: 27.06 kB / 0.8812 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.00652, allocations: 8.219 kB / 0.8812 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-06/0.006524, allocations: 0.5938 kB / 0.8812 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.006654, allocations: 92.34 kB / 0.8813 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.006655, allocations: 0 / 0.8813 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000201/0.006856, allocations: 69.52 kB / 0.8814 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.006897, allocations: 51.41 kB / 0.8814 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.006999, allocations: 173.9 kB / 0.8816 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.007022, allocations: 25.7 kB / 0.8816 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.007086, allocations: 134.9 kB / 0.8817 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.007098, allocations: 7.938 kB / 0.8817 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.007163, allocations: 35.36 kB / 0.8818 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.007306, allocations: 496.1 kB / 0.8822 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.007393, allocations: 53.69 kB / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.007492, allocations: 84.73 kB / 0.8824 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.007593, allocations: 84.69 kB / 0.8825 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.007596, allocations: 4 kB / 0.8825 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002659/0.007862, allocations: 169 kB / 0.8826 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.007902, allocations: 43.81 kB / 0.8827 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.007909, allocations: 4 kB / 0.8827 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.007924, allocations: 0 / 0.8827 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.707e-05/0.007941, allocations: 0 / 0.8827 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.00795, allocations: 7.922 kB / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.00811, allocations: 23.94 kB / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.008133, allocations: 7.984 kB / 0.8827 GB, free: 1.711 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 (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 9.146e-05/0.008224, allocations: 164.7 kB / 0.8829 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.008241, allocations: 4 kB / 0.8829 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.008267, allocations: 7.938 kB / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.008269, allocations: 0 / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.008273, allocations: 0 / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.008278, allocations: 3.984 kB / 0.8829 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.894e-05/0.008367, allocations: 116.6 kB / 0.883 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008369, allocations: 0 / 0.883 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-06/0.008375, allocations: 3.938 kB / 0.883 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.008379, allocations: 3.984 kB / 0.883 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.008385, allocations: 4 kB / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.00839, allocations: 7.938 kB / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.008391, allocations: 0 / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.008499, allocations: 84.38 kB / 0.8831 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.008509, allocations: 8.234 kB / 0.8831 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.00852, allocations: 0 / 0.8831 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.008539, allocations: 11.92 kB / 0.8831 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.008569, allocations: 7.984 kB / 0.8831 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.008576, allocations: 320 / 0.8831 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.008623, allocations: 127.2 kB / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.008623, allocations: 0 / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002358/0.008859, allocations: 31.92 kB / 0.8833 GB, free: 1.066 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 () * 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.0001307/0.008989, allocations: 95.25 kB / 0.8834 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.009217, allocations: 144.7 kB / 0.8835 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.009219, allocations: 0 / 0.8835 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.00925, allocations: 15.69 kB / 0.8835 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.009467, allocations: 9.016 kB / 0.8835 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.009764, allocations: 130.4 kB / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.009798, allocations: 51.36 kB / 0.8837 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.009824, allocations: 7.984 kB / 0.8837 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.009846, allocations: 12.5 kB / 0.8837 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of SimCode: time 8.71e-07/0.009846, allocations: 0 / 0.8837 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of Templates: time 0.003849/0.0137, allocations: 1.193 MB / 0.8849 GB, free: 15.37 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.420536170946434]