Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001024/0.001024, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001244/0.001244, allocations: 161 kB / 24.16 MB, free: 336 kB / 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 1.056/1.056, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.014/2.014, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.926e-05, allocations: 2.312 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002532/0.002561, allocations: 0.6683 MB / 0.7607 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.004337, allocations: 1.161 MB / 0.7618 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.004384, allocations: 1.344 kB / 0.7618 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.004416, allocations: 3.938 kB / 0.7618 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.004504, allocations: 9.953 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.004987, allocations: 121.6 kB / 0.7619 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.005164, allocations: 83.06 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.005249, allocations: 7.984 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.005373, allocations: 49.83 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.005479, allocations: 26.3 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.005503, allocations: 8 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.924e-05/0.005592, allocations: 19.98 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.005611, allocations: 10.55 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.005655, allocations: 20.75 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.005823, allocations: 76.98 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005826, allocations: 0.8438 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005827, allocations: 0.875 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.005831, allocations: 0.5312 kB / 0.7622 GB, free: 4.375 MB / 0.7136 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.0003929/0.006224, allocations: 278.6 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.006262, allocations: 9.031 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.006304, allocations: 8.938 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.057e-05/0.006385, allocations: 106.7 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.006399, allocations: 8.359 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.00641, allocations: 5.031 kB / 0.7626 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.533e-05/0.006475, allocations: 57.19 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.006483, allocations: 4.172 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.006489, allocations: 384 / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006495, allocations: 1.031 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.204e-05/0.006507, allocations: 12.62 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.006712, allocations: 153.7 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.53e-05/0.006748, allocations: 15.33 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-06/0.006757, allocations: 12.91 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-06/0.006761, allocations: 2 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.854e-05/0.006849, allocations: 85.02 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.006851, allocations: 0 / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001064/0.006957, allocations: 57.61 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.006986, allocations: 51.41 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.007047, allocations: 115.1 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.007063, allocations: 31.17 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.007094, allocations: 84.14 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.007103, allocations: 3.953 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.007146, allocations: 34.66 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.00722, allocations: 318.1 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.007263, allocations: 45.69 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.007311, allocations: 76.19 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.007369, allocations: 72.56 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.007371, allocations: 4 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001252/0.007497, allocations: 137 kB / 0.7639 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.007531, allocations: 43.06 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.007536, allocations: 4 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.007552, allocations: 11.88 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.678e-05/0.007568, allocations: 3.938 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.007572, allocations: 0 / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.007693, allocations: 19.98 kB / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.007708, allocations: 3.984 kB / 0.764 GB, free: 2.328 MB / 0.7136 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 6.677e-05/0.007775, allocations: 119.3 kB / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.007784, allocations: 0 / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.007806, allocations: 4 kB / 0.7641 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.00781, allocations: 9.344 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.007811, allocations: 0 / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.007815, allocations: 3.984 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.028e-05/0.007875, allocations: 69.89 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007876, allocations: 1.281 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-06/0.007881, allocations: 0 / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007883, allocations: 4 kB / 0.7642 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.007888, allocations: 4.656 kB / 0.7642 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00789, allocations: 3.984 kB / 0.7642 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007891, allocations: 0.625 kB / 0.7642 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.58e-05/0.007957, allocations: 69 kB / 0.7643 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.007963, allocations: 4.656 kB / 0.7643 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-06/0.00797, allocations: 1.188 kB / 0.7643 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.00798, allocations: 0 / 0.7643 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.007999, allocations: 3.984 kB / 0.7643 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.008004, allocations: 7.938 kB / 0.7643 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.213e-05/0.008016, allocations: 11.3 kB / 0.7643 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008016, allocations: 0 / 0.7643 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001243/0.00814, allocations: 19.94 kB / 0.7644 GB, free: 1.957 MB / 0.7136 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.0001071/0.008248, allocations: 84.41 kB / 0.7644 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.008373, allocations: 136.9 kB / 0.7646 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.008376, allocations: 0 / 0.7646 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.008392, allocations: 12.86 kB / 0.7646 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.008502, allocations: 12.17 kB / 0.7646 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.008715, allocations: 113 kB / 0.7647 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.008746, allocations: 59.28 kB / 0.7648 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.008766, allocations: 5.5 kB / 0.7648 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.008834, allocations: 75.23 kB / 0.7648 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.008835, allocations: 0 / 0.7648 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of Templates: time 0.002819/0.01165, allocations: 1.292 MB / 0.7661 GB, free: 180 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.257868429180235]