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.001582/0.001582, allocations: 109 kB / 17.12 MB, free: 5.926 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.001969/0.001969, allocations: 205 kB / 20.09 MB, free: 2.977 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.676/1.676, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.074/1.074, allocations: 150 MB / 459.5 MB, free: 5.312 MB / 350.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.002192/0.002192, allocations: 68.55 kB / 0.6361 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2038, allocations: 89.15 MB / 0.7232 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003999/0.2078, allocations: 1.935 MB / 0.7251 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.2102, allocations: 1.278 MB / 0.7263 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.2104, allocations: 4 kB / 0.7263 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.2108, allocations: 99.56 kB / 0.7264 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.2112, allocations: 131.4 kB / 0.7265 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.2116, allocations: 119.6 kB / 0.7267 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.212, allocations: 235.4 kB / 0.7269 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2121, allocations: 41.88 kB / 0.7269 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.2124, allocations: 111.5 kB / 0.727 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.2126, allocations: 107.5 kB / 0.7271 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.2126, allocations: 12 kB / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.2128, allocations: 59.98 kB / 0.7272 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2129, allocations: 55.81 kB / 0.7273 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.213, allocations: 99.34 kB / 0.7274 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.2135, allocations: 274.8 kB / 0.7276 GB, free: 15.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2135, allocations: 0 / 0.7276 GB, free: 15.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2135, allocations: 0 / 0.7276 GB, free: 15.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.2135, allocations: 0 / 0.7276 GB, free: 15.45 MB / 0.545 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.001222/0.2147, allocations: 0.5565 MB / 0.7282 GB, free: 14.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2148, allocations: 12.03 kB / 0.7282 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.526e-05/0.2148, allocations: 46.73 kB / 0.7282 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.2149, allocations: 28.75 kB / 0.7282 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.2154, allocations: 295.2 kB / 0.7285 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.2154, allocations: 12 kB / 0.7285 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.2154, allocations: 4 kB / 0.7285 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.2158, allocations: 125.5 kB / 0.7287 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2158, allocations: 7.922 kB / 0.7287 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.2158, allocations: 8 kB / 0.7287 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2158, allocations: 4 kB / 0.7287 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.2161, allocations: 79.92 kB / 0.7288 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.2169, allocations: 456.4 kB / 0.7292 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.2173, allocations: 118.7 kB / 0.7293 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2175, allocations: 56.81 kB / 0.7294 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2175, allocations: 0 / 0.7294 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.2178, allocations: 135.9 kB / 0.7295 GB, free: 13.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.2178, allocations: 0 / 0.7295 GB, free: 13.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007335/0.2185, allocations: 243.3 kB / 0.7297 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.2186, allocations: 59.41 kB / 0.7298 GB, free: 13.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.2191, allocations: 338.6 kB / 0.7301 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.2191, allocations: 33.7 kB / 0.7301 GB, free: 12.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.2192, allocations: 136.4 kB / 0.7303 GB, free: 12.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.2193, allocations: 39.73 kB / 0.7303 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2194, allocations: 65.64 kB / 0.7304 GB, free: 12.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.2196, allocations: 338.8 kB / 0.7307 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.2198, allocations: 79.89 kB / 0.7308 GB, free: 12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.2201, allocations: 145.6 kB / 0.7309 GB, free: 11.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.2206, allocations: 195.7 kB / 0.7311 GB, free: 11.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2206, allocations: 0 / 0.7311 GB, free: 11.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006225/0.2212, allocations: 277.3 kB / 0.7313 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2212, allocations: 8 kB / 0.7314 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2212, allocations: 3.984 kB / 0.7314 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2212, allocations: 4 kB / 0.7314 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.2215, allocations: 44.06 kB / 0.7314 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2215, allocations: 4 kB / 0.7314 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.2216, allocations: 23.94 kB / 0.7314 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.2217, allocations: 12 kB / 0.7314 GB, free: 11.26 MB / 0.545 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.0001754/0.2218, allocations: 169.4 kB / 0.7316 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.2219, allocations: 19.86 kB / 0.7316 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.2219, allocations: 26.17 kB / 0.7316 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2219, allocations: 11.94 kB / 0.7317 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2219, allocations: 0 / 0.7317 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2219, allocations: 0 / 0.7317 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.2229, allocations: 0.5567 MB / 0.7322 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2229, allocations: 4 kB / 0.7322 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.223, allocations: 11.98 kB / 0.7322 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.223, allocations: 3.938 kB / 0.7322 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.223, allocations: 11.98 kB / 0.7322 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.223, allocations: 4 kB / 0.7322 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.223, allocations: 0 / 0.7322 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.2235, allocations: 297 kB / 0.7325 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.2236, allocations: 96.97 kB / 0.7326 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.2237, allocations: 11.98 kB / 0.7326 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2238, allocations: 19.97 kB / 0.7326 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.2239, allocations: 15.98 kB / 0.7327 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.2239, allocations: 11.92 kB / 0.7327 GB, free: 9.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002542/0.2242, allocations: 214 kB / 0.7329 GB, free: 9.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2242, allocations: 0 / 0.7329 GB, free: 9.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003474/0.2245, allocations: 47.92 kB / 0.7329 GB, free: 9.648 MB / 0.545 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.002536/0.2271, allocations: 1.139 MB / 0.734 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005497/0.2276, allocations: 180 kB / 0.7342 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2276, allocations: 4.062 kB / 0.7342 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.2278, allocations: 63.91 kB / 0.7343 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.2283, allocations: 65.31 kB / 0.7343 GB, free: 8.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.2322, allocations: 2.611 MB / 0.7369 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.2326, allocations: 0.748 MB / 0.7376 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000123/0.2328, allocations: 33.94 kB / 0.7376 GB, free: 4.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.2329, allocations: 75.41 kB / 0.7377 GB, free: 4.762 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.2329, allocations: 0 / 0.7377 GB, free: 4.762 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.2637, allocations: 5.547 MB / 0.7431 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/8.765, allocations: 18.34 kB / 0.7432 GB, free: 15.27 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.229906966909766] Failed to read output from testmodel.py, exit status != 0: 8.892649692948908 8.914534744 8.696832492 Calling exit ...