Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001289/0.001289, 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.001438/0.001438, allocations: 222.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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.003/1.003, allocations: 150 MB / 463.2 MB, free: 10.5 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.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",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.002812/0.002812, allocations: 69.59 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.233, allocations: 89.17 MB / 0.7284 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002128/0.2352, allocations: 0.8677 MB / 0.7293 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.2369, allocations: 1.221 MB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.2369, allocations: 0 / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.237, allocations: 7.875 kB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.289e-05/0.2371, allocations: 19.8 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.2376, allocations: 154.5 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.2379, allocations: 167.6 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.238, allocations: 41.22 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.2381, allocations: 67.78 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2382, allocations: 71.72 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.2383, allocations: 12 kB / 0.731 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.2384, allocations: 27.98 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.2384, allocations: 23.92 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.229e-05/0.2385, allocations: 67.7 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.2387, allocations: 171.6 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2387, allocations: 4 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2387, allocations: 0 / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.2388, allocations: 0 / 0.7312 GB, free: 14.29 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007636/0.2395, allocations: 418 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2396, allocations: 8.031 kB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.2396, allocations: 46.67 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.2397, allocations: 12.89 kB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.2402, allocations: 186.4 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2402, allocations: 12.38 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.2402, allocations: 16.38 kB / 0.7319 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2405, allocations: 89.95 kB / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2405, allocations: 3.938 kB / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2405, allocations: 0 / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2405, allocations: 4 kB / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.2407, allocations: 47.95 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.2414, allocations: 359.6 kB / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2415, allocations: 38.55 kB / 0.7324 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.2416, allocations: 16.84 kB / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2417, allocations: 7.984 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.242, allocations: 103.4 kB / 0.7326 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.242, allocations: 0 / 0.7326 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004273/0.2424, allocations: 137.8 kB / 0.7327 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.2424, allocations: 55.34 kB / 0.7327 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.2426, allocations: 140.2 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.2426, allocations: 41.62 kB / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.2427, allocations: 116.1 kB / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.2427, allocations: 23.81 kB / 0.733 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.2428, allocations: 41.69 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2429, allocations: 326.8 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2431, allocations: 43.97 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.2433, allocations: 133.8 kB / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.2436, allocations: 204.6 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2436, allocations: 3.938 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005037/0.2441, allocations: 243 kB / 0.734 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/0.2442, allocations: 37.64 kB / 0.734 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2442, allocations: 0 / 0.734 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2442, allocations: 4 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2443, allocations: 35.91 kB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.2443, allocations: 11.94 kB / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.2445, allocations: 40.2 kB / 0.7341 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.2446, allocations: 15.98 kB / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001131/0.2447, allocations: 125.8 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.2447, allocations: 11.91 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.2448, allocations: 20.7 kB / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2448, allocations: 3.938 kB / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2448, allocations: 0 / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2448, allocations: 4 kB / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.2453, allocations: 369.5 kB / 0.7346 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2453, allocations: 0 / 0.7346 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.929e-05/0.2454, allocations: 15.92 kB / 0.7347 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2454, allocations: 0 / 0.7347 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2454, allocations: 4 kB / 0.7347 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2454, allocations: 3.984 kB / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2454, allocations: 0 / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.2459, allocations: 247.4 kB / 0.7349 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.2459, allocations: 12.03 kB / 0.7349 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.2459, allocations: 8.016 kB / 0.7349 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/0.246, allocations: 8 kB / 0.7349 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.246, allocations: 7.984 kB / 0.7349 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2461, allocations: 11.98 kB / 0.735 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.2461, allocations: 99.27 kB / 0.735 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2461, allocations: 4 kB / 0.7351 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002856/0.2464, allocations: 28 kB / 0.7351 GB, free: 9.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007744/0.2472, allocations: 0.7903 MB / 0.7358 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004144/0.2476, allocations: 163.2 kB / 0.736 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2476, allocations: 0.75 kB / 0.736 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.2477, allocations: 43.91 kB / 0.736 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.248, allocations: 25.81 kB / 0.7361 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.251, allocations: 1.975 MB / 0.738 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.2513, allocations: 0.7045 MB / 0.7387 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.046e-05/0.2514, allocations: 16.64 kB / 0.7387 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.2515, allocations: 39.42 kB / 0.7387 GB, free: 6 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/0.2515, allocations: 0 / 0.7387 GB, free: 6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.2882, allocations: 3.32 MB / 0.742 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.99, allocations: 5.891 kB / 0.742 GB, free: 2.832 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_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_Reals_Validation_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.078434400002152] Failed to read output from testmodel.py, exit status != 0: 11.092048644000897 11.106929479 10.865023627 Calling exit ...