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.001183/0.001183, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001349/0.001349, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8984/0.8984, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5706/0.5706, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.366e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.002454/0.002478, allocations: 1.898 MB / 0.556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.003876, allocations: 1.216 MB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.003979, allocations: 3.938 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.004289, allocations: 95.55 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.0046, allocations: 151.2 kB / 0.5575 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.004854, allocations: 131.5 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.00509, allocations: 227.3 kB / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.005235, allocations: 29.8 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.005402, allocations: 135.6 kB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.005519, allocations: 87.77 kB / 0.5581 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.005541, allocations: 12 kB / 0.5581 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.005648, allocations: 67.83 kB / 0.5581 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.005721, allocations: 67.81 kB / 0.5582 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.005779, allocations: 51.8 kB / 0.5582 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.006111, allocations: 279 kB / 0.5585 GB, free: 13.26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.006115, allocations: 4 kB / 0.5585 GB, free: 13.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.006117, allocations: 0 / 0.5585 GB, free: 13.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.006122, allocations: 0 / 0.5585 GB, free: 13.26 MB / 490.7 MB 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.0006435/0.006766, allocations: 488.9 kB / 0.559 GB, free: 12.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.006805, allocations: 12.62 kB / 0.559 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.006839, allocations: 42.73 kB / 0.559 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.006885, allocations: 32.8 kB / 0.5591 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.007155, allocations: 236.7 kB / 0.5593 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.007169, allocations: 4 kB / 0.5593 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.007184, allocations: 12 kB / 0.5593 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.007376, allocations: 114.9 kB / 0.5594 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.007383, allocations: 0 / 0.5594 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.007394, allocations: 4 kB / 0.5594 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.0074, allocations: 7.875 kB / 0.5594 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.007552, allocations: 95.86 kB / 0.5595 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.008025, allocations: 391.8 kB / 0.5599 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.008227, allocations: 130.6 kB / 0.56 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.008312, allocations: 52.81 kB / 0.5601 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.008327, allocations: 3.984 kB / 0.5601 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.008508, allocations: 123.3 kB / 0.5602 GB, free: 11.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.008509, allocations: 7.938 kB / 0.5602 GB, free: 11.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004151/0.008924, allocations: 261.8 kB / 0.5604 GB, free: 11.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.008965, allocations: 55.39 kB / 0.5605 GB, free: 11.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.009215, allocations: 333.9 kB / 0.5608 GB, free: 10.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.009234, allocations: 33.7 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.009303, allocations: 140.5 kB / 0.561 GB, free: 10.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.009333, allocations: 43.67 kB / 0.561 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.00939, allocations: 57.7 kB / 0.5611 GB, free: 10.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.009477, allocations: 338.8 kB / 0.5614 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.009587, allocations: 83.94 kB / 0.5615 GB, free: 10.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.009721, allocations: 133.1 kB / 0.5616 GB, free: 9.883 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.009936, allocations: 194.3 kB / 0.5618 GB, free: 9.676 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.009939, allocations: 0 / 0.5618 GB, free: 9.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003055/0.01024, allocations: 286.2 kB / 0.5621 GB, free: 9.391 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01026, allocations: 12.09 kB / 0.5621 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01026, allocations: 4 kB / 0.5621 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.01027, allocations: 0 / 0.5621 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.01038, allocations: 43.91 kB / 0.5621 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01039, allocations: 7.984 kB / 0.5621 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.01046, allocations: 23.88 kB / 0.5622 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01048, allocations: 12 kB / 0.5622 GB, free: 9.289 MB / 490.7 MB 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.0001018/0.01058, allocations: 161.8 kB / 0.5623 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.0106, allocations: 23.8 kB / 0.5623 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.01088, allocations: 217.2 kB / 0.5625 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01089, allocations: 4 kB / 0.5626 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01089, allocations: 0 / 0.5626 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01089, allocations: 3.938 kB / 0.5626 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.01135, allocations: 0.5229 MB / 0.5631 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01135, allocations: 0 / 0.5631 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.01139, allocations: 27.98 kB / 0.5631 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01139, allocations: 0 / 0.5631 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.0114, allocations: 3.938 kB / 0.5631 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01141, allocations: 7.984 kB / 0.5631 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01141, allocations: 0 / 0.5631 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.01165, allocations: 303.6 kB / 0.5634 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.01168, allocations: 31.81 kB / 0.5634 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.0117, allocations: 3.984 kB / 0.5634 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.01177, allocations: 19.98 kB / 0.5634 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.01182, allocations: 19.97 kB / 0.5635 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01183, allocations: 4 kB / 0.5635 GB, free: 7.879 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.01196, allocations: 213.2 kB / 0.5637 GB, free: 7.668 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01196, allocations: 4 kB / 0.5637 GB, free: 7.664 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.01217, allocations: 47.94 kB / 0.5637 GB, free: 7.617 MB / 490.7 MB 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.001098/0.01326, allocations: 1.18 MB / 0.5649 GB, free: 6.625 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.01356, allocations: 186.3 kB / 0.5651 GB, free: 6.445 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01357, allocations: 4 kB / 0.5651 GB, free: 6.441 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.01367, allocations: 67.89 kB / 0.5651 GB, free: 6.375 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.01395, allocations: 65.34 kB / 0.5652 GB, free: 6.324 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.01617, allocations: 2.641 MB / 0.5678 GB, free: 3.574 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.01628, allocations: 145.1 kB / 0.5679 GB, free: 3.414 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.528e-05/0.01635, allocations: 37.92 kB / 0.5679 GB, free: 3.379 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.01645, allocations: 76.47 kB / 0.568 GB, free: 3.305 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01645, allocations: 4 kB / 0.568 GB, free: 3.301 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.03429, allocations: 6.525 MB / 0.5744 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/6.704, allocations: 10.86 kB / 0.5744 GB, free: 12.87 MB / 0.4948 GB " [Timeout remaining time 653] (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: 9.294001199305058] Failed to read output from testmodel.py, exit status != 0: 6.799208113923669 6.806550923 6.7987864159999996 Calling exit ...