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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007375/0.0007375, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007806/0.0007806, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8553/0.8553, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001448/0.001448, allocations: 233.5 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6601/0.6601, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.422e-06/1.422e-06, allocations: 0 / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.233e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002033/0.002055, allocations: 1.499 MB / 0.6477 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2341/0.2362, allocations: 455.9 kB / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.2362, allocations: 0 / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.2363, allocations: 3.188 kB / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.2363, allocations: 7.547 kB / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.2364, allocations: 25.66 kB / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.2365, allocations: 51.41 kB / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.2366, allocations: 12.25 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.136e-05/0.2367, allocations: 34.33 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.2367, allocations: 17.06 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.2367, allocations: 4.75 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.2368, allocations: 5.594 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.2368, allocations: 11.23 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.2368, allocations: 17.94 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/0.2369, allocations: 44.27 kB / 0.6484 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2369, allocations: 0.6562 kB / 0.6484 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2369, allocations: 0.7188 kB / 0.6484 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2369, allocations: 1.891 kB / 0.6484 GB, free: 55.72 MB / 0.5573 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.0003362/0.2372, allocations: 284.7 kB / 0.6487 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2373, allocations: 11.94 kB / 0.6487 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.127e-05/0.2373, allocations: 35.91 kB / 0.6487 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.2373, allocations: 10.64 kB / 0.6487 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.399e-05/0.2374, allocations: 111.9 kB / 0.6488 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2374, allocations: 5.094 kB / 0.6488 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2374, allocations: 6.703 kB / 0.6488 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.191e-05/0.2375, allocations: 62.28 kB / 0.6489 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.2375, allocations: 2.375 kB / 0.6489 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.2375, allocations: 0.875 kB / 0.6489 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2375, allocations: 6.516 kB / 0.6489 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.2376, allocations: 24.38 kB / 0.6489 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.2379, allocations: 265 kB / 0.6492 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/0.238, allocations: 58.75 kB / 0.6492 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.238, allocations: 22.83 kB / 0.6493 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.238, allocations: 1.906 kB / 0.6493 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.2382, allocations: 72.11 kB / 0.6493 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2382, allocations: 1.031 kB / 0.6493 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0001853/0.2384, allocations: 98.69 kB / 0.6494 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2384, allocations: 55.67 kB / 0.6495 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.668e-05/0.2384, allocations: 110.1 kB / 0.6496 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.2384, allocations: 32.16 kB / 0.6496 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.2385, allocations: 87 kB / 0.6497 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2385, allocations: 23.55 kB / 0.6497 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.2385, allocations: 29.98 kB / 0.6497 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.2386, allocations: 317.4 kB / 0.65 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.2386, allocations: 17.14 kB / 0.6501 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.2386, allocations: 48.42 kB / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.499e-05/0.2387, allocations: 63.69 kB / 0.6502 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2387, allocations: 4.281 kB / 0.6502 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.58e-05/0.2388, allocations: 99 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2388, allocations: 7.156 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2388, allocations: 4.859 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2388, allocations: 1.125 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.2389, allocations: 14.72 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2389, allocations: 2.125 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.2389, allocations: 10.47 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2389, allocations: 5.156 kB / 0.6503 GB, free: 54.2 MB / 0.5573 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 4.286e-05/0.239, allocations: 123.4 kB / 0.6504 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.239, allocations: 9.156 kB / 0.6504 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.239, allocations: 11.73 kB / 0.6505 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.239, allocations: 1.625 kB / 0.6505 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.239, allocations: 0 / 0.6505 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.239, allocations: 1.594 kB / 0.6505 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2392, allocations: 327.7 kB / 0.6508 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2392, allocations: 3.828 kB / 0.6508 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-05/0.2393, allocations: 8.688 kB / 0.6508 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2393, allocations: 1.781 kB / 0.6508 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.2393, allocations: 4.312 kB / 0.6508 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2393, allocations: 0 / 0.6508 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2393, allocations: 0 / 0.6508 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.386e-05/0.2393, allocations: 185.9 kB / 0.651 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.2394, allocations: 7.203 kB / 0.651 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.2394, allocations: 4.703 kB / 0.651 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.2394, allocations: 5.5 kB / 0.651 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.2394, allocations: 11.91 kB / 0.651 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2394, allocations: 2.969 kB / 0.651 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.659e-05/0.2395, allocations: 87.78 kB / 0.6511 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2395, allocations: 0 / 0.6511 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001556/0.2396, allocations: 20.39 kB / 0.6511 GB, free: 53.57 MB / 0.5573 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.0001879/0.2398, allocations: 0.7163 MB / 0.6518 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.492e-05/0.2399, allocations: 51.58 kB / 0.6518 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.2399, allocations: 0 / 0.6518 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.2399, allocations: 22.11 kB / 0.6519 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.2401, allocations: 11.45 kB / 0.6519 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.2407, allocations: 1.37 MB / 0.6532 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.326e-05/0.2408, allocations: 69.17 kB / 0.6533 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.2408, allocations: 9.344 kB / 0.6533 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.2408, allocations: 18.11 kB / 0.6533 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of SimCode: time 3.5e-07/0.2408, allocations: 0 / 0.6533 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.2553, allocations: 2.497 MB / 0.6557 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.952, allocations: 5.328 kB / 0.6557 GB, free: 50.8 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.419219639152288] Failed to read output from testmodel.py, exit status != 0: 7.03295067884028 7.043815214 6.804398367 Calling exit ...