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.001954/0.001954, allocations: 119 kB / 19.69 MB, free: 2.199 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.002474/0.002474, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.685/1.685, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 1.016/1.016, allocations: 150 MB / 463.2 MB, free: 10.48 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.002119/0.002119, allocations: 67.11 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2084, allocations: 89.18 MB / 0.7284 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.004113/0.2125, allocations: 1.951 MB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.2152, allocations: 1.286 MB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2153, allocations: 11.88 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.2158, allocations: 103.5 kB / 0.7316 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.2162, allocations: 131.4 kB / 0.7318 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.2165, allocations: 135.6 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.2169, allocations: 227.4 kB / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.2171, allocations: 30.08 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.2173, allocations: 115.5 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2175, allocations: 111.5 kB / 0.7324 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.2175, allocations: 12 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2177, allocations: 59.91 kB / 0.7324 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.2178, allocations: 55.83 kB / 0.7325 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2179, allocations: 99.39 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.2183, allocations: 278.7 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2183, allocations: 4 kB / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2183, allocations: 0 / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2183, allocations: 0 / 0.7328 GB, free: 12.65 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.001111/0.2194, allocations: 488.9 kB / 0.7333 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.2195, allocations: 12.02 kB / 0.7333 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.2196, allocations: 38.75 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.2196, allocations: 28.75 kB / 0.7334 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.2201, allocations: 228.9 kB / 0.7336 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.2201, allocations: 19.98 kB / 0.7336 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.2201, allocations: 8 kB / 0.7336 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.2204, allocations: 119.9 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2204, allocations: 3.938 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2205, allocations: 3.938 kB / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.2205, allocations: 4 kB / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.2207, allocations: 83.92 kB / 0.7338 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.2215, allocations: 431.5 kB / 0.7342 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.2219, allocations: 118.6 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.222, allocations: 56.81 kB / 0.7344 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.222, allocations: 0 / 0.7344 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.2223, allocations: 130.2 kB / 0.7345 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2223, allocations: 0 / 0.7345 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0006504/0.223, allocations: 253.3 kB / 0.7348 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.223, allocations: 51.41 kB / 0.7348 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.2234, allocations: 341.8 kB / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.2235, allocations: 33.69 kB / 0.7352 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2236, allocations: 132.5 kB / 0.7353 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.2236, allocations: 43.69 kB / 0.7354 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.2237, allocations: 65.58 kB / 0.7354 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2239, allocations: 338.8 kB / 0.7357 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.2241, allocations: 83.95 kB / 0.7358 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.2243, allocations: 133.1 kB / 0.7359 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.2247, allocations: 197.8 kB / 0.7361 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2247, allocations: 4 kB / 0.7361 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005642/0.2253, allocations: 284 kB / 0.7364 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2253, allocations: 8 kB / 0.7364 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2253, allocations: 0 / 0.7364 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2253, allocations: 4 kB / 0.7364 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2255, allocations: 43.91 kB / 0.7365 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2255, allocations: 4 kB / 0.7365 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2257, allocations: 23.88 kB / 0.7365 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.2257, allocations: 12.16 kB / 0.7365 GB, free: 8.676 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.2259, allocations: 173.7 kB / 0.7367 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.2259, allocations: 19.86 kB / 0.7367 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.2264, allocations: 199.7 kB / 0.7369 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2264, allocations: 4 kB / 0.7369 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2264, allocations: 0 / 0.7369 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2264, allocations: 7.984 kB / 0.7369 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008715/0.2273, allocations: 0.5237 MB / 0.7374 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2273, allocations: 0 / 0.7374 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.2274, allocations: 19.98 kB / 0.7374 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2274, allocations: 0 / 0.7374 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.2274, allocations: 4 kB / 0.7374 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2274, allocations: 0 / 0.7374 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2274, allocations: 7.938 kB / 0.7374 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.2279, allocations: 295.2 kB / 0.7377 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.228, allocations: 27.78 kB / 0.7377 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.228, allocations: 8 kB / 0.7377 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2281, allocations: 11.98 kB / 0.7378 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.2282, allocations: 19.97 kB / 0.7378 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.2282, allocations: 11.94 kB / 0.7378 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002361/0.2285, allocations: 209.2 kB / 0.738 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2285, allocations: 0 / 0.738 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003252/0.2288, allocations: 51.94 kB / 0.738 GB, free: 7.023 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.002361/0.2312, allocations: 1.148 MB / 0.7392 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005022/0.2317, allocations: 179.7 kB / 0.7393 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2317, allocations: 0 / 0.7393 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2318, allocations: 70.19 kB / 0.7394 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.2323, allocations: 57.59 kB / 0.7394 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.2361, allocations: 2.602 MB / 0.742 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.2366, allocations: 0.7557 MB / 0.7427 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.2367, allocations: 29.94 kB / 0.7428 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.2368, allocations: 79.41 kB / 0.7428 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.2368, allocations: 0 / 0.7428 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.271, allocations: 5.746 MB / 0.7484 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.31, allocations: 6.812 kB / 0.7484 GB, free: 12.49 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: 15.826583345999097] Failed to read output from testmodel.py, exit status != 0: 11.46751934999702 11.779240102 11.261926244 Calling exit ...