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.001803/0.001803, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001787/0.001787, allocations: 212 kB / 22.25 MB, free: 4.859 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.002485/0.002485, allocations: 286.3 kB / 312.7 MB, free: 2.613 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.183/1.183, allocations: 180.6 MB / 0.5369 GB, free: 14.44 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.002989/0.002989, allocations: 99.67 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1714, allocations: 95.39 MB / 0.8326 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00294/0.1743, allocations: 1.502 MB / 0.8341 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.1752, allocations: 452.6 kB / 0.8345 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.1753, allocations: 0 / 0.8345 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.1753, allocations: 3.938 kB / 0.8345 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.1754, allocations: 7.922 kB / 0.8345 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.1756, allocations: 19.97 kB / 0.8345 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1757, allocations: 51.8 kB / 0.8346 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1758, allocations: 15.98 kB / 0.8346 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.1759, allocations: 23.91 kB / 0.8346 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.1759, allocations: 19.92 kB / 0.8347 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.176, allocations: 4 kB / 0.8347 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.176, allocations: 4 kB / 0.8347 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.176, allocations: 11.92 kB / 0.8347 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.1761, allocations: 23.88 kB / 0.8347 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1762, allocations: 48.08 kB / 0.8347 GB, free: 6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1762, allocations: 0 / 0.8347 GB, free: 6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.414e-06/0.1762, allocations: 0 / 0.8347 GB, free: 6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.1762, allocations: 0 / 0.8347 GB, free: 6 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.0005698/0.1768, allocations: 294.2 kB / 0.835 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1768, allocations: 9.344 kB / 0.835 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.1769, allocations: 38.75 kB / 0.8351 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.1769, allocations: 0.9375 kB / 0.8351 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1771, allocations: 114.5 kB / 0.8352 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1771, allocations: 8.312 kB / 0.8352 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1771, allocations: 12.38 kB / 0.8352 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1772, allocations: 57.75 kB / 0.8353 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1772, allocations: 0 / 0.8353 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1773, allocations: 8 kB / 0.8353 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1773, allocations: 3.984 kB / 0.8353 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.1773, allocations: 23.98 kB / 0.8353 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.1779, allocations: 255.9 kB / 0.8355 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.178, allocations: 54.5 kB / 0.8356 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.178, allocations: 28.92 kB / 0.8356 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.1781, allocations: 0 / 0.8356 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.1782, allocations: 79.38 kB / 0.8357 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.1782, allocations: 4 kB / 0.8357 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000253/0.1785, allocations: 97.61 kB / 0.8358 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.1785, allocations: 55.41 kB / 0.8358 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1787, allocations: 105.8 kB / 0.8359 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1787, allocations: 33.7 kB / 0.836 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.1787, allocations: 88.12 kB / 0.8361 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.1788, allocations: 23.78 kB / 0.8361 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.1788, allocations: 29.72 kB / 0.8361 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.179, allocations: 326.8 kB / 0.8364 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.1791, allocations: 15.98 kB / 0.8364 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/0.1791, allocations: 43.81 kB / 0.8365 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/0.1792, allocations: 71.36 kB / 0.8365 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1792, allocations: 0 / 0.8365 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001475/0.1794, allocations: 97.5 kB / 0.8366 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1794, allocations: 9.812 kB / 0.8366 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1794, allocations: 4 kB / 0.8366 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1794, allocations: 0 / 0.8366 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.1795, allocations: 12 kB / 0.8367 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1795, allocations: 4 kB / 0.8367 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.1795, allocations: 7.984 kB / 0.8367 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1796, allocations: 11.97 kB / 0.8367 GB, free: 3.797 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 0.0001097/0.1797, allocations: 118.4 kB / 0.8368 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1797, allocations: 3.953 kB / 0.8368 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.1797, allocations: 16.05 kB / 0.8368 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1797, allocations: 3.938 kB / 0.8368 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1797, allocations: 64 / 0.8368 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1797, allocations: 4 kB / 0.8368 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1802, allocations: 329.8 kB / 0.8371 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1802, allocations: 0 / 0.8371 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.1802, allocations: 12 kB / 0.8371 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1802, allocations: 0 / 0.8371 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1802, allocations: 0 / 0.8371 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1802, allocations: 3.938 kB / 0.8372 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1802, allocations: 3.984 kB / 0.8372 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.1804, allocations: 187.4 kB / 0.8373 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.1804, allocations: 0 / 0.8373 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1804, allocations: 4 kB / 0.8373 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.1805, allocations: 11.92 kB / 0.8374 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.1805, allocations: 7.984 kB / 0.8374 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1805, allocations: 8 kB / 0.8374 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.1806, allocations: 83.22 kB / 0.8374 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1806, allocations: 0 / 0.8374 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002325/0.1808, allocations: 20.14 kB / 0.8375 GB, free: 2.914 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.0005001/0.1813, allocations: 0.7227 MB / 0.8382 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.1815, allocations: 43.92 kB / 0.8382 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1815, allocations: 0 / 0.8382 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.51e-05/0.1815, allocations: 27.92 kB / 0.8382 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1818, allocations: 16.16 kB / 0.8383 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1831, allocations: 1.367 MB / 0.8396 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.1832, allocations: 67.34 kB / 0.8397 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.1832, allocations: 7.984 kB / 0.8397 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.1833, allocations: 15.44 kB / 0.8397 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1833, allocations: 0 / 0.8397 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2122, allocations: 2.36 MB / 0.842 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.06, allocations: 14.91 kB / 0.842 GB, free: 14.29 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.07190115377307] Failed to read output from testmodel.py, exit status != 0: 11.169152555055916 11.193590489 11.013076572 Calling exit ...