Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001466/0.001466, allocations: 80.92 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.001655/0.001655, allocations: 161 kB / 24.17 MB, free: 332 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.038/1.038, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.042/2.042, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.777e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001302/0.00132, allocations: 0.7543 MB / 0.7608 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.002521, allocations: 1.322 MB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.002559, allocations: 4 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.002585, allocations: 9.766 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.717e-05/0.002662, allocations: 19.28 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.003178, allocations: 293.1 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.003404, allocations: 258.2 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.003482, allocations: 28.02 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.003618, allocations: 139.8 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.003733, allocations: 75.8 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.003765, allocations: 24 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.003839, allocations: 32.75 kB / 0.763 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.003857, allocations: 11.98 kB / 0.763 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.003919, allocations: 80.59 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.004091, allocations: 191.6 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004093, allocations: 2.031 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.02e-07/0.004094, allocations: 0 / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.004097, allocations: 0 / 0.7632 GB, free: 3.363 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003338/0.00443, allocations: 393.7 kB / 0.7636 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.004458, allocations: 8.031 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.004495, allocations: 16.92 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.972e-05/0.004565, allocations: 123 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.004581, allocations: 12.36 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.004605, allocations: 16.31 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/0.004675, allocations: 62.94 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.004681, allocations: 1.406 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.004687, allocations: 384 / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004691, allocations: 4.125 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.004709, allocations: 12.83 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.004965, allocations: 204.2 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.004997, allocations: 24.77 kB / 0.7641 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.005012, allocations: 16.94 kB / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-06/0.005017, allocations: 0 / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.714e-05/0.005104, allocations: 103.3 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.005105, allocations: 0 / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001259/0.005231, allocations: 92.33 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.005258, allocations: 59.34 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.005328, allocations: 134.6 kB / 0.7645 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.005351, allocations: 33.7 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.005392, allocations: 96.12 kB / 0.7646 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.005406, allocations: 23.77 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.005474, allocations: 61.66 kB / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.005546, allocations: 328.2 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.005642, allocations: 141.1 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.005754, allocations: 192.8 kB / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.005889, allocations: 208.3 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.005895, allocations: 8.5 kB / 0.7655 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002473/0.006142, allocations: 371 kB / 0.7659 GB, free: 392 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.00619, allocations: 103.4 kB / 0.7659 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.006196, allocations: 4 kB / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.006206, allocations: 0 / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.721e-05/0.006223, allocations: 7.938 kB / 0.766 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.006228, allocations: 7.984 kB / 0.766 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.006412, allocations: 54.38 kB / 0.766 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.006438, allocations: 19.98 kB / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.826e-05/0.006506, allocations: 127.9 kB / 0.7662 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.006519, allocations: 11.98 kB / 0.7662 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.006541, allocations: 16.36 kB / 0.7662 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.006544, allocations: 9.062 kB / 0.7662 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006546, allocations: 0 / 0.7662 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006548, allocations: 0 / 0.7662 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.429e-05/0.006623, allocations: 78.78 kB / 0.7663 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.006623, allocations: 0 / 0.7663 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.006631, allocations: 11.72 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006633, allocations: 0 / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.006639, allocations: 3.984 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006641, allocations: 4 kB / 0.7663 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.006643, allocations: 3.938 kB / 0.7663 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.631e-05/0.006719, allocations: 101 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.006727, allocations: 7.953 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.006736, allocations: 4 kB / 0.7664 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.184e-05/0.006748, allocations: 0 / 0.7664 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.006771, allocations: 11.92 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006775, allocations: 7.156 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.779e-05/0.006793, allocations: 23.09 kB / 0.7664 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006793, allocations: 0 / 0.7664 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001437/0.006937, allocations: 47.98 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.792e-05/0.007015, allocations: 84.34 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.007256, allocations: 387.2 kB / 0.7669 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.007259, allocations: 0 / 0.7669 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.007289, allocations: 32.78 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.0074, allocations: 24.8 kB / 0.767 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.007623, allocations: 184.9 kB / 0.7672 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.007654, allocations: 63.34 kB / 0.7672 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.007674, allocations: 4.5 kB / 0.7672 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.007796, allocations: 95.33 kB / 0.7673 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/0.007797, allocations: 0 / 0.7673 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.004093/0.01189, allocations: 3.147 MB / 0.7704 GB, free: 11.73 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.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.2592001892626286]