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.7654/0.7654, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009652, allocations: 183.4 kB / 187.3 MB, free: 11.88 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.338/1.338, allocations: 221.3 MB / 441.4 MB, free: 4.688 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.0009042/0.0009041, allocations: 99.42 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 281 kB / 0.594 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.549e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3885, allocations: 82.78 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.505, allocations: 109.3 MB / 0.8711 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.5053, allocations: 75.89 kB / 0.8712 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004023/0.5094, allocations: 1.409 MB / 0.8726 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5094, allocations: 0 / 0.8726 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5094, allocations: 0 / 0.8726 GB, free: 13.79 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.0003903/0.5098, allocations: 355.8 kB / 0.8729 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5099, allocations: 8.031 kB / 0.8729 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.087e-05/0.51, allocations: 38.55 kB / 0.8729 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.51, allocations: 0 / 0.8729 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.5101, allocations: 171 kB / 0.8731 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5102, allocations: 4 kB / 0.8731 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.5102, allocations: 7.938 kB / 0.8731 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.5103, allocations: 49.69 kB / 0.8732 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5103, allocations: 0 / 0.8732 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5103, allocations: 8 kB / 0.8732 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5103, allocations: 4 kB / 0.8732 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.5104, allocations: 23.98 kB / 0.8732 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.5109, allocations: 310.7 kB / 0.8735 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.511, allocations: 54.56 kB / 0.8735 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.5111, allocations: 25.08 kB / 0.8736 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.5111, allocations: 0 / 0.8736 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.5112, allocations: 79.36 kB / 0.8736 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.5113, allocations: 0 / 0.8736 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0001944/0.5115, allocations: 81.52 kB / 0.8737 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.5115, allocations: 59.41 kB / 0.8738 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.5116, allocations: 97 kB / 0.8739 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5116, allocations: 29.7 kB / 0.8739 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.5117, allocations: 88.12 kB / 0.874 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.5117, allocations: 27.64 kB / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.5117, allocations: 0 / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5119, allocations: 330.7 kB / 0.8743 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.5119, allocations: 12 kB / 0.8743 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.512, allocations: 51.38 kB / 0.8744 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.512, allocations: 28.11 kB / 0.8744 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.512, allocations: 0 / 0.8744 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00013/0.5122, allocations: 93.52 kB / 0.8745 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5122, allocations: 8 kB / 0.8745 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5122, allocations: 3.984 kB / 0.8745 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5122, allocations: 0 / 0.8745 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.5123, allocations: 8 kB / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5123, allocations: 11.97 kB / 0.8745 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.5124, allocations: 7.984 kB / 0.8745 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.5124, allocations: 8 kB / 0.8745 GB, free: 11.51 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.773e-05/0.5125, allocations: 110 kB / 0.8746 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.5125, allocations: 4 kB / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.5125, allocations: 8.094 kB / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5125, allocations: 0 / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5125, allocations: 0 / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5126, allocations: 4 kB / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.513, allocations: 362.4 kB / 0.875 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.513, allocations: 0 / 0.875 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.513, allocations: 8.172 kB / 0.875 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.513, allocations: 3.938 kB / 0.875 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.513, allocations: 3.938 kB / 0.875 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.513, allocations: 0 / 0.875 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.513, allocations: 4 kB / 0.875 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.5132, allocations: 187.4 kB / 0.8752 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.5133, allocations: 81.02 kB / 0.8753 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.5133, allocations: 0 / 0.8753 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.5134, allocations: 11.98 kB / 0.8753 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.5134, allocations: 11.92 kB / 0.8753 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.5134, allocations: 4 kB / 0.8753 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.5135, allocations: 83.28 kB / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5135, allocations: 0 / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002106/0.5137, allocations: 19.95 kB / 0.8754 GB, free: 10.53 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.0004286/0.5141, allocations: 0.7124 MB / 0.8761 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.5143, allocations: 47.94 kB / 0.8761 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5143, allocations: 4 kB / 0.8762 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.631e-05/0.5144, allocations: 31.92 kB / 0.8762 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.5146, allocations: 4 kB / 0.8762 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.5149, allocations: 123.1 kB / 0.8763 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.5152, allocations: 0.6926 MB / 0.877 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.5152, allocations: 8 kB / 0.877 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.5153, allocations: 27.42 kB / 0.877 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.5153, allocations: 0 / 0.877 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.5279, allocations: 1.505 MB / 0.8785 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.5282, allocations: 172 kB / 0.8786 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.043, allocations: 0 / 0.8786 GB, free: 7.25 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)