Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008705/0.0008705, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001062/0.001062, allocations: 181 kB / 23.36 MB, free: 1.133 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.9376/0.9376, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.501/2.501, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.45e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001462/0.001496, allocations: 0.6958 MB / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.002817, allocations: 1.322 MB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.002869, allocations: 4 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.002904, allocations: 3.938 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.002998, allocations: 19.78 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.003919, allocations: 307.3 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.004147, allocations: 255.5 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.004232, allocations: 16.12 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.004369, allocations: 135.8 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.004494, allocations: 71.86 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.004525, allocations: 28 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.004595, allocations: 43.91 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.004616, allocations: 8 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.004679, allocations: 75.86 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.004864, allocations: 199.5 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004867, allocations: 0 / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004868, allocations: 0 / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004872, allocations: 0 / 0.8417 GB, free: 11.03 MB / 0.8073 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.0003809/0.005253, allocations: 385.7 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.00529, allocations: 15.97 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.005336, allocations: 20.92 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.005437, allocations: 123.9 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.005465, allocations: 8.375 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.005494, allocations: 16.36 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.005589, allocations: 62.94 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005596, allocations: 192 / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.005605, allocations: 4.359 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.005613, allocations: 4.125 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.005632, allocations: 15.97 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.005935, allocations: 200.2 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.009e-05/0.005975, allocations: 22.56 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.005993, allocations: 8.859 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.005998, allocations: 8 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.006109, allocations: 99.39 kB / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.00611, allocations: 0 / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001518/0.006262, allocations: 97.8 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.006299, allocations: 55.41 kB / 0.8428 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.006376, allocations: 138.6 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.006407, allocations: 29.7 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.006456, allocations: 104 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.006472, allocations: 23.78 kB / 0.8431 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.006544, allocations: 61.66 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.00662, allocations: 322.8 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.006723, allocations: 145.1 kB / 0.8436 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.006845, allocations: 195 kB / 0.8438 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.006986, allocations: 206.6 kB / 0.844 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.006989, allocations: 0 / 0.844 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002567/0.007245, allocations: 371.6 kB / 0.8443 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.007304, allocations: 107.2 kB / 0.8444 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.007309, allocations: 0 / 0.8444 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.007324, allocations: 4 kB / 0.8444 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.039e-05/0.007344, allocations: 7.984 kB / 0.8444 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.007351, allocations: 0 / 0.8444 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.007565, allocations: 68.08 kB / 0.8445 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.007592, allocations: 15.98 kB / 0.8445 GB, free: 7.82 MB / 0.8073 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 9.819e-05/0.00769, allocations: 133.8 kB / 0.8446 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.007703, allocations: 7.984 kB / 0.8446 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.007734, allocations: 16.38 kB / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007736, allocations: 0 / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.007739, allocations: 0 / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.007746, allocations: 4 kB / 0.8447 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.007854, allocations: 89.86 kB / 0.8447 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.007856, allocations: 0 / 0.8447 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-06/0.007863, allocations: 0 / 0.8447 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.00787, allocations: 7.984 kB / 0.8447 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.007877, allocations: 0 / 0.8447 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007879, allocations: 0 / 0.8447 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.007882, allocations: 3.938 kB / 0.8448 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.007998, allocations: 97.06 kB / 0.8448 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.008013, allocations: 11.95 kB / 0.8449 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.008027, allocations: 4 kB / 0.8449 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.008045, allocations: 4 kB / 0.8449 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.008081, allocations: 15.92 kB / 0.8449 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.008088, allocations: 4 kB / 0.8449 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.682e-05/0.008115, allocations: 24.06 kB / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008115, allocations: 3.938 kB / 0.8449 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001494/0.008264, allocations: 47.98 kB / 0.845 GB, free: 7.316 MB / 0.8073 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 0.0001525/0.008417, allocations: 88.3 kB / 0.845 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.008709, allocations: 380 kB / 0.8454 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.008713, allocations: 384 / 0.8454 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.008748, allocations: 36.78 kB / 0.8454 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.008913, allocations: 19.98 kB / 0.8455 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.009187, allocations: 177.3 kB / 0.8456 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.009219, allocations: 67.28 kB / 0.8457 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.009246, allocations: 8.484 kB / 0.8457 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.009376, allocations: 91.33 kB / 0.8458 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.009377, allocations: 4 kB / 0.8458 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of Templates: time 0.004745/0.01412, allocations: 3.158 MB / 0.8489 GB, free: 3.242 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.420789772644639]