Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008463/0.0008463, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008186/0.0008187, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001633/0.001633, allocations: 262.9 kB / 291.2 MB, free: 1.879 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7049/0.7049, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 12.27 kB / 0.5683 GB, free: 38.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 83.09 MB / 0.6494 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001315/0.122, allocations: 1.172 MB / 0.6506 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005065/0.1225, allocations: 418.9 kB / 0.651 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.1225, allocations: 0 / 0.651 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.1226, allocations: 3.938 kB / 0.651 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.1226, allocations: 7.969 kB / 0.651 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.1227, allocations: 19.92 kB / 0.651 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.1228, allocations: 35.89 kB / 0.651 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.89e-05/0.1229, allocations: 8 kB / 0.651 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.1229, allocations: 20.8 kB / 0.6511 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.123, allocations: 15.92 kB / 0.6511 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.123, allocations: 4.5 kB / 0.6511 GB, free: 1.902 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.123, allocations: 0 / 0.6511 GB, free: 1.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1231, allocations: 12.53 kB / 0.6511 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1231, allocations: 34.27 kB / 0.6511 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.225e-05/0.1231, allocations: 27.95 kB / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.1232, allocations: 0.6562 kB / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1232, allocations: 0.75 kB / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1232, allocations: 0 / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004086/0.1236, allocations: 357.3 kB / 0.6515 GB, free: 1.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.1236, allocations: 12.03 kB / 0.6515 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.1237, allocations: 8.531 kB / 0.6515 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.7e-05/0.1238, allocations: 159.7 kB / 0.6517 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1238, allocations: 11.94 kB / 0.6517 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1238, allocations: 8.625 kB / 0.6517 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.205e-05/0.1239, allocations: 54.38 kB / 0.6517 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1239, allocations: 3.938 kB / 0.6517 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1239, allocations: 0.5 kB / 0.6517 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1239, allocations: 4.531 kB / 0.6517 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.124, allocations: 23.98 kB / 0.6518 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.1244, allocations: 312 kB / 0.6521 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/0.1245, allocations: 55.94 kB / 0.6521 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.1245, allocations: 0 / 0.6521 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.1247, allocations: 76.91 kB / 0.6522 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.1247, allocations: 0 / 0.6522 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001826/0.1249, allocations: 98.73 kB / 0.6523 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1249, allocations: 59.34 kB / 0.6523 GB, free: 444 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.125, allocations: 111.2 kB / 0.6525 GB, free: 324 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.125, allocations: 29.7 kB / 0.6525 GB, free: 288 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.125, allocations: 88.12 kB / 0.6526 GB, free: 196 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1251, allocations: 20.38 kB / 0.6526 GB, free: 176 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1251, allocations: 0 / 0.6526 GB, free: 176 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.1252, allocations: 327.5 kB / 0.6529 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.1252, allocations: 12.78 kB / 0.6529 GB, free: 15.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.1253, allocations: 44.27 kB / 0.6529 GB, free: 15.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.1253, allocations: 25.83 kB / 0.653 GB, free: 15.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1253, allocations: 0 / 0.653 GB, free: 15.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001204/0.1254, allocations: 93.55 kB / 0.6531 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1254, allocations: 6.156 kB / 0.6531 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1255, allocations: 4 kB / 0.6531 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.1255, allocations: 0 / 0.6531 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.1255, allocations: 12.36 kB / 0.6531 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1255, allocations: 64 / 0.6531 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.1256, allocations: 20.47 kB / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1256, allocations: 8.875 kB / 0.6531 GB, free: 15.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.1257, allocations: 129 kB / 0.6532 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.1257, allocations: 7.984 kB / 0.6532 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.1257, allocations: 7.969 kB / 0.6533 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1257, allocations: 0 / 0.6533 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1258, allocations: 0 / 0.6533 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1258, allocations: 4.656 kB / 0.6533 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.1261, allocations: 364.1 kB / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1261, allocations: 0 / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.1261, allocations: 8.594 kB / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1261, allocations: 0 / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1262, allocations: 4.859 kB / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1262, allocations: 0 / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1262, allocations: 3.438 kB / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1263, allocations: 179.4 kB / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.1263, allocations: 89 kB / 0.6539 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1264, allocations: 4 kB / 0.6539 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.1264, allocations: 4 kB / 0.6539 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1265, allocations: 9.047 kB / 0.6539 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1265, allocations: 4 kB / 0.6539 GB, free: 14.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.1265, allocations: 87.27 kB / 0.654 GB, free: 14.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1265, allocations: 4.031 kB / 0.654 GB, free: 14.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1268, allocations: 12 kB / 0.654 GB, free: 14.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.521e-05/0.1268, allocations: 103.2 kB / 0.6541 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.127, allocations: 51.92 kB / 0.6541 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.127, allocations: 0 / 0.6541 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.127, allocations: 32.05 kB / 0.6542 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.1272, allocations: 14.09 kB / 0.6542 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.1274, allocations: 156.6 kB / 0.6543 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1276, allocations: 0.6891 MB / 0.655 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.455e-05/0.1276, allocations: 7.984 kB / 0.655 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1277, allocations: 11.44 kB / 0.655 GB, free: 13.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1277, allocations: 4 kB / 0.655 GB, free: 13.5 MB / 462.1 MB Notification: Performance of Templates: time 0.002057/0.1297, allocations: 0.6587 MB / 0.6557 GB, free: 12.84 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) Environment - environmentSimulation: