Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.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.001241/0.001241, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001415/0.001415, allocations: 209.2 kB / 23.03 MB, free: 4.887 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9357/0.9357, allocations: 150 MB / 463.2 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001988/0.001988, allocations: 72.42 kB / 0.6413 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1684, allocations: 89.17 MB / 0.7284 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003933/0.1724, allocations: 1.887 MB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1745, allocations: 1.204 MB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1746, allocations: 4 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.175, allocations: 95.56 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.1753, allocations: 139.4 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.1757, allocations: 127.6 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.176, allocations: 235.4 kB / 0.732 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1761, allocations: 34.06 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1763, allocations: 103.6 kB / 0.7321 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1765, allocations: 103.5 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.1765, allocations: 16 kB / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1766, allocations: 51.97 kB / 0.7323 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.1767, allocations: 63.81 kB / 0.7323 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.1768, allocations: 71.47 kB / 0.7324 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.1772, allocations: 282.8 kB / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1772, allocations: 4 kB / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1772, allocations: 0 / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.1772, allocations: 0 / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009572/0.1782, allocations: 496.8 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1782, allocations: 8.031 kB / 0.7331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.1782, allocations: 42.69 kB / 0.7332 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.1783, allocations: 28.75 kB / 0.7332 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.1787, allocations: 232.8 kB / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1787, allocations: 11.98 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1787, allocations: 16 kB / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.179, allocations: 118.7 kB / 0.7336 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.179, allocations: 0 / 0.7336 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1791, allocations: 3.938 kB / 0.7336 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1791, allocations: 4 kB / 0.7336 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.1793, allocations: 83.92 kB / 0.7337 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.1801, allocations: 407.6 kB / 0.734 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.1804, allocations: 126.6 kB / 0.7342 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.1806, allocations: 64.75 kB / 0.7342 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.1806, allocations: 0 / 0.7342 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.1809, allocations: 119.5 kB / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.1809, allocations: 0 / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0006593/0.1815, allocations: 255.8 kB / 0.7346 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1816, allocations: 63.33 kB / 0.7346 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.1819, allocations: 337.8 kB / 0.735 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.182, allocations: 33.7 kB / 0.735 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1821, allocations: 136.4 kB / 0.7351 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.1821, allocations: 47.67 kB / 0.7352 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.1822, allocations: 57.66 kB / 0.7352 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1824, allocations: 342.8 kB / 0.7356 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.1826, allocations: 87.95 kB / 0.7356 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1828, allocations: 133.1 kB / 0.7358 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.1832, allocations: 195.2 kB / 0.736 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1832, allocations: 0 / 0.736 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005584/0.1838, allocations: 283.5 kB / 0.7362 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1838, allocations: 4 kB / 0.7362 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1838, allocations: 4 kB / 0.7362 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1838, allocations: 0 / 0.7362 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.184, allocations: 48.06 kB / 0.7363 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.184, allocations: 7.938 kB / 0.7363 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1842, allocations: 19.94 kB / 0.7363 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.1842, allocations: 16 kB / 0.7363 GB, free: 8.336 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001655/0.1844, allocations: 157.8 kB / 0.7365 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.1844, allocations: 27.8 kB / 0.7365 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.1849, allocations: 227.4 kB / 0.7367 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1849, allocations: 8 kB / 0.7367 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1849, allocations: 0 / 0.7367 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1849, allocations: 3.938 kB / 0.7367 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.1857, allocations: 0.5232 MB / 0.7372 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1857, allocations: 4 kB / 0.7372 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.1858, allocations: 11.98 kB / 0.7373 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1858, allocations: 4 kB / 0.7373 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1858, allocations: 3.984 kB / 0.7373 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1858, allocations: 4 kB / 0.7373 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1858, allocations: 0 / 0.7373 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.1863, allocations: 311.6 kB / 0.7376 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.1864, allocations: 27.8 kB / 0.7376 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.1864, allocations: 7.984 kB / 0.7376 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1865, allocations: 15.98 kB / 0.7376 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.1866, allocations: 19.97 kB / 0.7376 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1866, allocations: 4 kB / 0.7376 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002121/0.1868, allocations: 221.1 kB / 0.7378 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1868, allocations: 0 / 0.7378 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003045/0.1871, allocations: 47.94 kB / 0.7379 GB, free: 6.648 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002328/0.1895, allocations: 1.181 MB / 0.739 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004617/0.1899, allocations: 187.7 kB / 0.7392 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1899, allocations: 0 / 0.7392 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.1901, allocations: 63.95 kB / 0.7393 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1905, allocations: 53.14 kB / 0.7393 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.1939, allocations: 2.622 MB / 0.7419 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.194, allocations: 145.2 kB / 0.742 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.1941, allocations: 33.92 kB / 0.7421 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.1943, allocations: 79.41 kB / 0.7421 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.1943, allocations: 0 / 0.7421 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.2278, allocations: 6.384 MB / 0.7484 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.91, allocations: 3 kB / 0.7484 GB, free: 12.06 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.901390487095341] Failed to read output from testmodel.py, exit status != 0: 11.07185511291027 11.384646564 11.204344465 Calling exit ...