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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8979/0.8979, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 176.8 kB / 182.2 MB, free: 9.422 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000913/0.0009131, allocations: 93.47 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 279.6 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.093e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3961, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.5383, allocations: 108.7 MB / 0.8636 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5386, allocations: 67.97 kB / 0.8636 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004189/0.5428, allocations: 1.403 MB / 0.865 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.005e-06/0.5429, allocations: 0 / 0.865 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5429, allocations: 3.938 kB / 0.865 GB, free: 1.625 MB / 0.5261 GB 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.0003972/0.5433, allocations: 346.4 kB / 0.8653 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5433, allocations: 8.031 kB / 0.8653 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.5434, allocations: 7.984 kB / 0.8653 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.5435, allocations: 167.1 kB / 0.8655 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5435, allocations: 7.953 kB / 0.8655 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.5436, allocations: 7.984 kB / 0.8655 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.6e-05/0.5436, allocations: 23.98 kB / 0.8655 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.5437, allocations: 53.62 kB / 0.8656 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5438, allocations: 0 / 0.8656 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5438, allocations: 0 / 0.8656 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5438, allocations: 4 kB / 0.8656 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.5442, allocations: 273.3 kB / 0.8659 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.5443, allocations: 58.59 kB / 0.8659 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.5444, allocations: 17.08 kB / 0.8659 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.5444, allocations: 4 kB / 0.8659 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.5445, allocations: 71.39 kB / 0.866 GB, free: 456 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.5445, allocations: 3.938 kB / 0.866 GB, free: 452 kB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001624/0.5447, allocations: 73.53 kB / 0.8661 GB, free: 372 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.5448, allocations: 59.39 kB / 0.8661 GB, free: 300 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.5448, allocations: 96.98 kB / 0.8662 GB, free: 196 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5449, allocations: 33.7 kB / 0.8663 GB, free: 156 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.5449, allocations: 84.14 kB / 0.8663 GB, free: 68 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.5449, allocations: 23.66 kB / 0.8664 GB, free: 44 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.545, allocations: 0 / 0.8664 GB, free: 44 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5451, allocations: 322.8 kB / 0.8667 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.5451, allocations: 16 kB / 0.8667 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.5452, allocations: 39.38 kB / 0.8667 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.5452, allocations: 23.92 kB / 0.8667 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5452, allocations: 4 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001222/0.5454, allocations: 85.52 kB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.5454, allocations: 4 kB / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.5454, allocations: 4 kB / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5454, allocations: 0 / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.5455, allocations: 8 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5455, allocations: 4 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.5456, allocations: 7.984 kB / 0.8669 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.5456, allocations: 8.031 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB 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 () * 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 7.636e-05/0.5457, allocations: 113.5 kB / 0.867 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001044/0.5458, allocations: 77.62 kB / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.5458, allocations: 4.188 kB / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.5458, allocations: 12.39 kB / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5458, allocations: 3.984 kB / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5458, allocations: 0 / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5459, allocations: 0 / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.5462, allocations: 339.1 kB / 0.8674 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5462, allocations: 0 / 0.8674 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.5463, allocations: 7.984 kB / 0.8674 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5463, allocations: 0 / 0.8674 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.5463, allocations: 4.062 kB / 0.8674 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5463, allocations: 4 kB / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5463, allocations: 0 / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.5464, allocations: 179.4 kB / 0.8676 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.5465, allocations: 81.02 kB / 0.8676 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.5465, allocations: 4 kB / 0.8677 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.5466, allocations: 7.984 kB / 0.8677 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.5467, allocations: 11.98 kB / 0.8677 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.5467, allocations: 4 kB / 0.8677 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.5467, allocations: 75.28 kB / 0.8677 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.784e-06/0.5467, allocations: 4 kB / 0.8678 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002091/0.5469, allocations: 15.94 kB / 0.8678 GB, free: 14.48 MB / 0.5417 GB 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 () * 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 0.0003848/0.5473, allocations: 0.7143 MB / 0.8685 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.5474, allocations: 43.88 kB / 0.8685 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5474, allocations: 4 kB / 0.8685 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.835e-05/0.5475, allocations: 20.06 kB / 0.8685 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.5477, allocations: 16.45 kB / 0.8685 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.548, allocations: 113.5 kB / 0.8687 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.5483, allocations: 0.6885 MB / 0.8693 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.5483, allocations: 7.938 kB / 0.8693 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.5484, allocations: 15.44 kB / 0.8693 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5484, allocations: 0 / 0.8693 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.5682, allocations: 1.183 MB / 0.8705 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.5685, allocations: 162.3 kB / 0.8707 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.06, allocations: 3.188 kB / 0.8707 GB, free: 11.41 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)