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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 278.4 kB / 303 MB, free: 3.574 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9693/0.9693, allocations: 180.9 MB / 0.5261 GB, free: 2.758 MB / 382.1 MB " [Timeout remaining time 179] 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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 91.84 kB / 0.7247 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4241, allocations: 94.15 MB / 0.8167 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002044/0.4261, allocations: 1.481 MB / 0.8181 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000541/0.4267, allocations: 457.5 kB / 0.8186 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.4267, allocations: 1 kB / 0.8186 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.4267, allocations: 3.938 kB / 0.8186 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.4268, allocations: 4.906 kB / 0.8186 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.4269, allocations: 18.73 kB / 0.8186 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.427, allocations: 63.59 kB / 0.8187 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.4271, allocations: 15.06 kB / 0.8187 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.4271, allocations: 23.98 kB / 0.8187 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.4272, allocations: 17.3 kB / 0.8187 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.4272, allocations: 5.125 kB / 0.8187 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.4272, allocations: 3.406 kB / 0.8187 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.4272, allocations: 10.22 kB / 0.8187 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.4273, allocations: 25.06 kB / 0.8188 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.899e-05/0.4273, allocations: 48.41 kB / 0.8188 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4273, allocations: 3.938 kB / 0.8188 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4273, allocations: 3.938 kB / 0.8188 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.4274, allocations: 0 / 0.8188 GB, free: 5.723 MB / 0.5762 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.0003922/0.4277, allocations: 359.4 kB / 0.8191 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.4278, allocations: 9.875 kB / 0.8192 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.535e-05/0.4278, allocations: 38.86 kB / 0.8192 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.4278, allocations: 8.422 kB / 0.8192 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.4279, allocations: 167.1 kB / 0.8194 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4279, allocations: 6.156 kB / 0.8194 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.4279, allocations: 5.453 kB / 0.8194 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.855e-05/0.428, allocations: 62.08 kB / 0.8194 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4281, allocations: 4.969 kB / 0.8194 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4281, allocations: 0 / 0.8194 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4281, allocations: 1.281 kB / 0.8194 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.4281, allocations: 28.55 kB / 0.8195 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.4285, allocations: 304.8 kB / 0.8198 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/0.4286, allocations: 58.41 kB / 0.8198 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.4286, allocations: 18.83 kB / 0.8198 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.4286, allocations: 1.125 kB / 0.8198 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.4288, allocations: 73.5 kB / 0.8199 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.4288, allocations: 3.984 kB / 0.8199 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0001869/0.4289, allocations: 104.9 kB / 0.82 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.429, allocations: 58.02 kB / 0.8201 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.429, allocations: 103.4 kB / 0.8202 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.429, allocations: 33.48 kB / 0.8202 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.4291, allocations: 86.12 kB / 0.8203 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.4291, allocations: 24.64 kB / 0.8203 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.4291, allocations: 28.44 kB / 0.8203 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.4291, allocations: 322.1 kB / 0.8206 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.4292, allocations: 18.84 kB / 0.8207 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.4292, allocations: 51.31 kB / 0.8207 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.746e-05/0.4293, allocations: 63 kB / 0.8208 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4293, allocations: 1.594 kB / 0.8208 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001151/0.4294, allocations: 95.11 kB / 0.8209 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4294, allocations: 7.094 kB / 0.8209 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.4294, allocations: 1.406 kB / 0.8209 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4294, allocations: 2.094 kB / 0.8209 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.4295, allocations: 12.19 kB / 0.8209 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4295, allocations: 1.062 kB / 0.8209 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.4296, allocations: 19.27 kB / 0.8209 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4296, allocations: 7.469 kB / 0.8209 GB, free: 3.75 MB / 0.5762 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.4296, allocations: 120.9 kB / 0.821 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.4296, allocations: 5.656 kB / 0.821 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.4296, allocations: 8.844 kB / 0.821 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4296, allocations: 1.594 kB / 0.821 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4296, allocations: 4.938 kB / 0.821 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4297, allocations: 0 / 0.821 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.4299, allocations: 359.7 kB / 0.8214 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4299, allocations: 1.125 kB / 0.8214 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.43, allocations: 7.156 kB / 0.8214 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.43, allocations: 1.469 kB / 0.8214 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.43, allocations: 3.375 kB / 0.8214 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.43, allocations: 4.5 kB / 0.8214 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.43, allocations: 1.125 kB / 0.8214 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.4301, allocations: 182.9 kB / 0.8216 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.4301, allocations: 82.69 kB / 0.8216 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.4301, allocations: 9.25 kB / 0.8217 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.4302, allocations: 11.03 kB / 0.8217 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.4302, allocations: 11.02 kB / 0.8217 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.4302, allocations: 2.281 kB / 0.8217 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.078e-05/0.4302, allocations: 82.94 kB / 0.8218 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4302, allocations: 5.594 kB / 0.8218 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002177/0.4305, allocations: 17.91 kB / 0.8218 GB, free: 2.918 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.4307, allocations: 0.7196 MB / 0.8225 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.4308, allocations: 50.2 kB / 0.8225 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4308, allocations: 8 kB / 0.8225 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.4309, allocations: 21.88 kB / 0.8226 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.4311, allocations: 15.05 kB / 0.8226 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/0.4321, allocations: 1.352 MB / 0.8239 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4324, allocations: 0.6906 MB / 0.8246 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.4324, allocations: 6.891 kB / 0.8246 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.4324, allocations: 19.62 kB / 0.8246 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.4324, allocations: 0 / 0.8246 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.4546, allocations: 1.796 MB / 0.8263 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.677, allocations: 6.938 kB / 0.8264 GB, free: 15.84 MB / 0.5919 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.025296717882156] Failed to read output from testmodel.py, exit status != 0: 7.738901052623987 7.750977321 7.320829177 Calling exit ...