Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.0009299/0.0009299, allocations: 80.94 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.0009848/0.0009848, allocations: 173 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 1.1/1.1, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.567/2.567, allocations: 438.8 MB / 0.6826 GB, free: 13.57 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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.738e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001362/0.001379, allocations: 0.8553 MB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.002821, allocations: 1.551 MB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.002881, allocations: 4 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.002986, allocations: 15.8 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.003047, allocations: 39.64 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.00384, allocations: 0.5028 MB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.004217, allocations: 475.1 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.004316, allocations: 34.31 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.004511, allocations: 259.7 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.004688, allocations: 139.7 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.004736, allocations: 40 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.004831, allocations: 55.98 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.004873, allocations: 43.83 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.004976, allocations: 135.8 kB / 0.8427 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.00525, allocations: 363 kB / 0.843 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005251, allocations: 0 / 0.843 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005252, allocations: 0 / 0.843 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.005256, allocations: 0 / 0.843 GB, free: 9.629 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004481/0.005704, allocations: 0.5357 MB / 0.8435 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.005735, allocations: 12.62 kB / 0.8436 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.00579, allocations: 40.89 kB / 0.8436 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.005977, allocations: 169.5 kB / 0.8438 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.005992, allocations: 20.38 kB / 0.8438 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.006031, allocations: 32.36 kB / 0.8438 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.00614, allocations: 111.8 kB / 0.8439 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.006146, allocations: 192 / 0.8439 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.006157, allocations: 8.359 kB / 0.8439 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.006164, allocations: 4.375 kB / 0.8439 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.655e-05/0.0062, allocations: 34.77 kB / 0.844 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.006591, allocations: 391.2 kB / 0.8443 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.006678, allocations: 62.48 kB / 0.8444 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.006704, allocations: 24.84 kB / 0.8444 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/0.006709, allocations: 0 / 0.8444 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.006832, allocations: 147.3 kB / 0.8446 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.002e-06/0.006833, allocations: 0 / 0.8446 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001816/0.007014, allocations: 147.5 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.007041, allocations: 55.41 kB / 0.8447 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.007134, allocations: 183.4 kB / 0.8449 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.007166, allocations: 37.7 kB / 0.845 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.007228, allocations: 124.6 kB / 0.8451 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.007252, allocations: 47.66 kB / 0.8451 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.00736, allocations: 97.59 kB / 0.8452 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.007442, allocations: 334.7 kB / 0.8455 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.007604, allocations: 240.4 kB / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.007792, allocations: 327.5 kB / 0.8461 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.008018, allocations: 367.7 kB / 0.8464 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.008021, allocations: 0 / 0.8464 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004137/0.008435, allocations: 0.5952 MB / 0.847 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/0.008501, allocations: 164.5 kB / 0.8472 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008505, allocations: 0 / 0.8472 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.008517, allocations: 4 kB / 0.8472 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.495e-05/0.008542, allocations: 15.92 kB / 0.8472 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.008547, allocations: 4.344 kB / 0.8472 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.008812, allocations: 103.8 kB / 0.8473 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.008847, allocations: 27.97 kB / 0.8473 GB, free: 4.781 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.566e-05/0.008943, allocations: 150 kB / 0.8475 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.008961, allocations: 27.97 kB / 0.8475 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.008988, allocations: 21.75 kB / 0.8475 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.00899, allocations: 0 / 0.8475 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.008992, allocations: 0 / 0.8475 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.008995, allocations: 0 / 0.8475 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.009234, allocations: 355.8 kB / 0.8478 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009235, allocations: 0 / 0.8478 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.009248, allocations: 8 kB / 0.8479 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.009249, allocations: 0 / 0.8479 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.009257, allocations: 7.984 kB / 0.8479 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.009258, allocations: 0 / 0.8479 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009259, allocations: 4 kB / 0.8479 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.009379, allocations: 217.7 kB / 0.8481 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.009389, allocations: 11.91 kB / 0.8481 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.009401, allocations: 0 / 0.8481 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.009437, allocations: 8 kB / 0.8481 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.009472, allocations: 18.8 kB / 0.8481 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.009481, allocations: 11.98 kB / 0.8481 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.00951, allocations: 50.25 kB / 0.8482 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00951, allocations: 0 / 0.8482 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002029/0.009713, allocations: 83.89 kB / 0.8482 GB, free: 3.77 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 8.953e-05/0.009803, allocations: 97.52 kB / 0.8483 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.01018, allocations: 0.6272 MB / 0.849 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01018, allocations: 4 kB / 0.849 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.01023, allocations: 52.77 kB / 0.849 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.01043, allocations: 56.58 kB / 0.8491 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.01076, allocations: 296.5 kB / 0.8493 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.0108, allocations: 75.98 kB / 0.8494 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.52e-05/0.01084, allocations: 17.48 kB / 0.8494 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.01103, allocations: 131.3 kB / 0.8496 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.01103, allocations: 4 kB / 0.8496 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of Templates: time 0.006241/0.01727, allocations: 5.485 MB / 0.8549 GB, free: 12.9 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.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.603986386209726]