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.001431/0.001431, allocations: 105 kB / 20.48 MB, free: 1.48 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.001383/0.001383, allocations: 218 kB / 23.79 MB, free: 4.699 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.9739/0.9739, allocations: 150 MB / 464 MB, free: 10.95 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="cs",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.002022/0.002022, allocations: 63.75 kB / 0.642 GB, free: 10.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1667, allocations: 89.18 MB / 0.7291 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.00346/0.1702, allocations: 1.947 MB / 0.731 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1724, allocations: 1.286 MB / 0.7323 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1725, allocations: 7.938 kB / 0.7323 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.1728, allocations: 103.5 kB / 0.7324 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.1732, allocations: 135.4 kB / 0.7325 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1735, allocations: 131.6 kB / 0.7326 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.1738, allocations: 231.4 kB / 0.7329 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.174, allocations: 29.8 kB / 0.7329 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1742, allocations: 111.5 kB / 0.733 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1743, allocations: 107.6 kB / 0.7331 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1744, allocations: 16 kB / 0.7331 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1745, allocations: 71.83 kB / 0.7332 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.1746, allocations: 51.83 kB / 0.7332 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1747, allocations: 99.39 kB / 0.7333 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.1751, allocations: 274.8 kB / 0.7336 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1751, allocations: 0 / 0.7336 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1751, allocations: 0 / 0.7336 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1751, allocations: 4 kB / 0.7336 GB, free: 12.95 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.0009432/0.176, allocations: 488.9 kB / 0.7341 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1761, allocations: 12.03 kB / 0.7341 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.635e-05/0.1761, allocations: 384 / 0.7341 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.1762, allocations: 42.73 kB / 0.7341 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.1762, allocations: 28.75 kB / 0.7341 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.1766, allocations: 232.5 kB / 0.7344 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1766, allocations: 12 kB / 0.7344 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1766, allocations: 15.98 kB / 0.7344 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.177, allocations: 124.2 kB / 0.7345 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.177, allocations: 4 kB / 0.7345 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.177, allocations: 0 / 0.7345 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.177, allocations: 0 / 0.7345 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1773, allocations: 87.92 kB / 0.7346 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/0.178, allocations: 435.4 kB / 0.735 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.1784, allocations: 118.6 kB / 0.7351 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.1786, allocations: 52.81 kB / 0.7352 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.1786, allocations: 4.188 kB / 0.7352 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.1789, allocations: 127.3 kB / 0.7353 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.1789, allocations: 0 / 0.7353 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0006747/0.1796, allocations: 248.1 kB / 0.7355 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.1796, allocations: 59.39 kB / 0.7356 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.18, allocations: 337.8 kB / 0.7359 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.18, allocations: 37.69 kB / 0.736 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1802, allocations: 136.5 kB / 0.7361 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.1802, allocations: 43.69 kB / 0.7361 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1803, allocations: 61.64 kB / 0.7362 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1805, allocations: 334.8 kB / 0.7365 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.1807, allocations: 83.95 kB / 0.7366 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.181, allocations: 141 kB / 0.7367 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.1814, allocations: 193.5 kB / 0.7369 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1814, allocations: 4 kB / 0.7369 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005837/0.1819, allocations: 279.3 kB / 0.7372 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.182, allocations: 4.156 kB / 0.7372 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.182, allocations: 8 kB / 0.7372 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.182, allocations: 3.938 kB / 0.7372 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.1822, allocations: 43.91 kB / 0.7372 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1822, allocations: 4 kB / 0.7372 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.1824, allocations: 19.94 kB / 0.7373 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.1824, allocations: 8 kB / 0.7373 GB, free: 8.965 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.0001808/0.1826, allocations: 165.6 kB / 0.7374 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.1826, allocations: 31.84 kB / 0.7374 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.1831, allocations: 195.7 kB / 0.7376 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1831, allocations: 4 kB / 0.7376 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1831, allocations: 0 / 0.7376 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1831, allocations: 0 / 0.7376 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.184, allocations: 0.5363 MB / 0.7382 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.184, allocations: 0 / 0.7382 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.1841, allocations: 15.98 kB / 0.7382 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1841, allocations: 0 / 0.7382 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1841, allocations: 4 kB / 0.7382 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1841, allocations: 7.938 kB / 0.7382 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.1841, allocations: 3.938 kB / 0.7382 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.1846, allocations: 298.4 kB / 0.7385 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1847, allocations: 27.78 kB / 0.7385 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.1847, allocations: 4 kB / 0.7385 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1848, allocations: 11.98 kB / 0.7385 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.1849, allocations: 23.91 kB / 0.7385 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1849, allocations: 8 kB / 0.7385 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000218/0.1851, allocations: 209.2 kB / 0.7387 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1851, allocations: 4 kB / 0.7388 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003269/0.1855, allocations: 47.94 kB / 0.7388 GB, free: 7.309 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 (16): * Single equations (assignments): 11 * 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.002278/0.1878, allocations: 1.156 MB / 0.7399 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.1882, allocations: 175.8 kB / 0.7401 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1882, allocations: 0 / 0.7401 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.1884, allocations: 63.84 kB / 0.7402 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.1889, allocations: 62.23 kB / 0.7402 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.1924, allocations: 2.601 MB / 0.7428 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1928, allocations: 0.7519 MB / 0.7435 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000109/0.1929, allocations: 37.86 kB / 0.7435 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.193, allocations: 75.41 kB / 0.7436 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.193, allocations: 0 / 0.7436 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.2199, allocations: 5.781 MB / 0.7492 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.6, allocations: 14.03 kB / 0.7493 GB, free: 12.74 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.7695609430084] Failed to read output from testmodel.py, exit status != 0: 11.829014161019586 12.190050549 11.667529322 Calling exit ...