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.001429/0.001429, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001591/0.001591, allocations: 216 kB / 22.26 MB, free: 5.113 MB / 14.72 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 1.295/1.295, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 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.002386/0.002386, allocations: 281.3 kB / 312.7 MB, free: 2.801 MB / 238.1 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 1.091/1.091, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 103.3 kB / 0.7396 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1376, allocations: 95.38 MB / 0.8327 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002517/0.1401, allocations: 1.509 MB / 0.8342 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007956/0.1409, allocations: 492.5 kB / 0.8347 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.141, allocations: 0 / 0.8347 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.141, allocations: 3.938 kB / 0.8347 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.1411, allocations: 15.92 kB / 0.8347 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.1412, allocations: 23.92 kB / 0.8347 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.232e-05/0.1413, allocations: 47.89 kB / 0.8347 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.1414, allocations: 8 kB / 0.8348 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1414, allocations: 27.86 kB / 0.8348 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.1415, allocations: 15.92 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1415, allocations: 7.938 kB / 0.8348 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.1415, allocations: 4 kB / 0.8348 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.1415, allocations: 15.98 kB / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.1416, allocations: 27.84 kB / 0.8348 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.502e-05/0.1417, allocations: 40.11 kB / 0.8349 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1417, allocations: 0 / 0.8349 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1417, allocations: 4 kB / 0.8349 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1417, allocations: 0 / 0.8349 GB, free: 6.453 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.0004339/0.1421, allocations: 286.2 kB / 0.8352 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1421, allocations: 9.344 kB / 0.8352 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.1422, allocations: 38.75 kB / 0.8352 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.1422, allocations: 8.922 kB / 0.8352 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1423, allocations: 110.4 kB / 0.8353 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.1423, allocations: 4.375 kB / 0.8353 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1423, allocations: 12.38 kB / 0.8353 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1424, allocations: 61.8 kB / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1424, allocations: 0 / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1424, allocations: 4 kB / 0.8354 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1424, allocations: 0 / 0.8354 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.129e-05/0.1425, allocations: 35.86 kB / 0.8354 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1429, allocations: 267.8 kB / 0.8357 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.143, allocations: 58.59 kB / 0.8357 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.1431, allocations: 28.86 kB / 0.8358 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1431, allocations: 0 / 0.8358 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.1432, allocations: 71.39 kB / 0.8358 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1432, allocations: 0 / 0.8358 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0001972/0.1434, allocations: 97.61 kB / 0.8359 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.1435, allocations: 59.41 kB / 0.836 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.1436, allocations: 113.7 kB / 0.8361 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1436, allocations: 25.7 kB / 0.8361 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.1436, allocations: 88.14 kB / 0.8362 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1436, allocations: 27.78 kB / 0.8362 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1437, allocations: 29.72 kB / 0.8363 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1438, allocations: 318.8 kB / 0.8366 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.1438, allocations: 20 kB / 0.8366 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.1439, allocations: 43.42 kB / 0.8366 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.144, allocations: 67.36 kB / 0.8367 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.144, allocations: 0 / 0.8367 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001368/0.1441, allocations: 97.56 kB / 0.8368 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1441, allocations: 4 kB / 0.8368 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1441, allocations: 8.031 kB / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1441, allocations: 0 / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.115e-05/0.1442, allocations: 11.94 kB / 0.8368 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1442, allocations: 4 kB / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.1443, allocations: 7.984 kB / 0.8368 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1443, allocations: 7.922 kB / 0.8368 GB, free: 4.25 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 8.689e-05/0.1444, allocations: 122.9 kB / 0.8369 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.1444, allocations: 3.953 kB / 0.8369 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.1444, allocations: 16.06 kB / 0.837 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1444, allocations: 3.984 kB / 0.837 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1444, allocations: 3.938 kB / 0.837 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1444, allocations: 3.938 kB / 0.837 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.1448, allocations: 333.8 kB / 0.8373 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1448, allocations: 3.938 kB / 0.8373 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.1448, allocations: 4 kB / 0.8373 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1448, allocations: 4 kB / 0.8373 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1448, allocations: 0 / 0.8373 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1448, allocations: 7.938 kB / 0.8373 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1448, allocations: 3.984 kB / 0.8373 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.145, allocations: 183.4 kB / 0.8375 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.145, allocations: 4 kB / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.145, allocations: 0 / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.1451, allocations: 15.92 kB / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1451, allocations: 7.984 kB / 0.8375 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1451, allocations: 4 kB / 0.8375 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.1452, allocations: 83.28 kB / 0.8376 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1452, allocations: 0 / 0.8376 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002198/0.1454, allocations: 19.94 kB / 0.8376 GB, free: 3.355 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.000418/0.1458, allocations: 0.7088 MB / 0.8383 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.146, allocations: 55.86 kB / 0.8384 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.146, allocations: 0 / 0.8384 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.299e-05/0.146, allocations: 31.92 kB / 0.8384 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1462, allocations: 7.938 kB / 0.8384 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1474, allocations: 1.374 MB / 0.8397 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1477, allocations: 0.6885 MB / 0.8404 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.1477, allocations: 4 kB / 0.8404 GB, free: 348 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.1477, allocations: 19.44 kB / 0.8404 GB, free: 332 kB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.1477, allocations: 0 / 0.8404 GB, free: 332 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1748, allocations: 1.933 MB / 0.8423 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.81/9.985, allocations: 2.578 kB / 0.8423 GB, free: 14.54 MB / 0.5919 GB " [Timeout remaining time 650] (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: 13.603204084793106] Failed to read output from testmodel.py, exit status != 0: 10.090372619917616 10.104320958 9.959925824 Calling exit ...