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.8059/0.8059, allocations: 143.4 MB / 158.3 MB, free: 5.762 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.001206/0.001206, allocations: 183.4 kB / 191.5 MB, free: 5.746 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.548/1.548, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.0009794/0.0009792, allocations: 91.61 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 268.6 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004223, allocations: 15.16 kB / 0.6929 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 82.81 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.3475, allocations: 109.4 MB / 0.8806 GB, free: 220 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.3478, allocations: 71.95 kB / 0.8807 GB, free: 148 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4004/0.7482, allocations: 1.403 MB / 0.882 GB, free: 59.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7482, allocations: 1.875 kB / 0.882 GB, free: 59.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.7482, allocations: 0 / 0.882 GB, free: 59.46 MB / 0.5417 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.0003555/0.7486, allocations: 371.3 kB / 0.8824 GB, free: 59.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7486, allocations: 9.625 kB / 0.8824 GB, free: 59.11 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.7487, allocations: 30.56 kB / 0.8824 GB, free: 59.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.7487, allocations: 5.219 kB / 0.8824 GB, free: 59.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.59e-05/0.7488, allocations: 179.9 kB / 0.8826 GB, free: 58.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.7488, allocations: 1.844 kB / 0.8826 GB, free: 58.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.7489, allocations: 5.969 kB / 0.8826 GB, free: 58.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.749, allocations: 59.42 kB / 0.8827 GB, free: 58.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.749, allocations: 0 / 0.8827 GB, free: 58.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.749, allocations: 0 / 0.8827 GB, free: 58.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.749, allocations: 4.203 kB / 0.8827 GB, free: 58.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.7491, allocations: 26.64 kB / 0.8827 GB, free: 58.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.7495, allocations: 307.5 kB / 0.883 GB, free: 58.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.583e-05/0.7496, allocations: 51.34 kB / 0.883 GB, free: 58.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.7496, allocations: 0 / 0.883 GB, free: 58.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.7498, allocations: 83 kB / 0.8831 GB, free: 58.47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.7498, allocations: 0 / 0.8831 GB, free: 58.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0001994/0.75, allocations: 102 kB / 0.8832 GB, free: 58.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.75, allocations: 57.06 kB / 0.8833 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.7501, allocations: 97.39 kB / 0.8834 GB, free: 58.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.7501, allocations: 29.14 kB / 0.8834 GB, free: 58.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.7501, allocations: 86.89 kB / 0.8835 GB, free: 58.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.7502, allocations: 21.25 kB / 0.8835 GB, free: 58.15 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.7502, allocations: 7.5 kB / 0.8835 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.7502, allocations: 322.5 kB / 0.8838 GB, free: 57.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.7503, allocations: 15.31 kB / 0.8838 GB, free: 57.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/0.7503, allocations: 41.92 kB / 0.8839 GB, free: 57.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.7503, allocations: 25.16 kB / 0.8839 GB, free: 57.79 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7504, allocations: 2.312 kB / 0.8839 GB, free: 57.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001713/0.7505, allocations: 97.84 kB / 0.884 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7506, allocations: 5.469 kB / 0.884 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7506, allocations: 2.875 kB / 0.884 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7506, allocations: 5.734 kB / 0.884 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.7507, allocations: 8.812 kB / 0.884 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.7507, allocations: 6.75 kB / 0.884 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.7507, allocations: 6.188 kB / 0.884 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.7508, allocations: 8.688 kB / 0.884 GB, free: 57.75 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 () * 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.899e-05/0.7508, allocations: 127.3 kB / 0.8841 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.7509, allocations: 7.469 kB / 0.8842 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.7509, allocations: 10.41 kB / 0.8842 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7509, allocations: 0 / 0.8842 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7509, allocations: 0 / 0.8842 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7509, allocations: 4.484 kB / 0.8842 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.7512, allocations: 365.2 kB / 0.8845 GB, free: 57.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7513, allocations: 0 / 0.8845 GB, free: 57.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.7513, allocations: 10.52 kB / 0.8845 GB, free: 57.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7513, allocations: 0 / 0.8845 GB, free: 57.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7513, allocations: 3.109 kB / 0.8845 GB, free: 57.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7513, allocations: 2.75 kB / 0.8845 GB, free: 57.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7513, allocations: 0 / 0.8845 GB, free: 57.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.7515, allocations: 189.7 kB / 0.8847 GB, free: 57.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.7515, allocations: 88.98 kB / 0.8848 GB, free: 57.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.7515, allocations: 2.594 kB / 0.8848 GB, free: 57.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.7516, allocations: 12.75 kB / 0.8848 GB, free: 57.06 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.7517, allocations: 6.656 kB / 0.8848 GB, free: 57.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.7517, allocations: 5.422 kB / 0.8848 GB, free: 57.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.642e-05/0.7517, allocations: 83.03 kB / 0.8849 GB, free: 56.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7517, allocations: 0 / 0.8849 GB, free: 56.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002173/0.7519, allocations: 15.56 kB / 0.8849 GB, free: 56.98 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 () * 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 0.0002709/0.7522, allocations: 0.7139 MB / 0.8856 GB, free: 56.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.7523, allocations: 55.09 kB / 0.8857 GB, free: 56.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7523, allocations: 3.938 kB / 0.8857 GB, free: 56.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.7524, allocations: 31.48 kB / 0.8857 GB, free: 56.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.7526, allocations: 5.344 kB / 0.8857 GB, free: 56.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.7533, allocations: 0.9188 MB / 0.8866 GB, free: 55.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.7534, allocations: 0.6913 MB / 0.8873 GB, free: 54.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.7535, allocations: 2.969 kB / 0.8873 GB, free: 54.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.7535, allocations: 19.12 kB / 0.8873 GB, free: 54.78 MB / 0.5417 GB Notification: Performance of SimCode: time 3.606e-06/0.7535, allocations: 0 / 0.8873 GB, free: 54.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.7657, allocations: 1.491 MB / 0.8888 GB, free: 54.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.766, allocations: 204.5 kB / 0.889 GB, free: 54.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/2.22, allocations: 0 / 0.889 GB, free: 54.4 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)