Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001065/0.001065, 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.001096/0.001096, 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.8713/0.8713, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5614/0.5614, allocations: 114 MB / 373.9 MB, free: 8.719 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.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.5542 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.337e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001242/0.001266, allocations: 0.5991 MB / 0.5547 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.002097, allocations: 0.847 MB / 0.5556 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.002131, allocations: 0 / 0.5556 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.00216, allocations: 0 / 0.5556 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.002216, allocations: 0 / 0.5556 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.002374, allocations: 19.86 kB / 0.5556 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.813e-05/0.002442, allocations: 27.92 kB / 0.5556 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.002547, allocations: 4 kB / 0.5556 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.002618, allocations: 19.97 kB / 0.5556 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.00266, allocations: 11.92 kB / 0.5557 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.002682, allocations: 4 kB / 0.5557 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-06/0.00269, allocations: 4 kB / 0.5557 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.002707, allocations: 4 kB / 0.5557 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.002727, allocations: 11.98 kB / 0.5557 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 7.692e-05/0.002804, allocations: 19.95 kB / 0.5557 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002807, allocations: 3.938 kB / 0.5557 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002808, allocations: 0 / 0.5557 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.002813, allocations: 7.938 kB / 0.5557 GB, free: 1.23 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003576/0.003171, allocations: 258.3 kB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.003213, allocations: 8.625 kB / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.003247, allocations: 42.73 kB / 0.556 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.003267, allocations: 12.86 kB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.003343, allocations: 105.7 kB / 0.5561 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.003364, allocations: 8.375 kB / 0.5561 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.003371, allocations: 384 / 0.5561 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.003497, allocations: 50.23 kB / 0.5562 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.003504, allocations: 192 / 0.5562 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.003514, allocations: 384 / 0.5562 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.00352, allocations: 4.125 kB / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.329e-05/0.003613, allocations: 39.95 kB / 0.5562 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.004178, allocations: 224 kB / 0.5564 GB, free: 388 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/0.004266, allocations: 38.55 kB / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.004312, allocations: 20.91 kB / 0.5565 GB, free: 316 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.004327, allocations: 0 / 0.5565 GB, free: 316 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.004346, allocations: 38.5 kB / 0.5565 GB, free: 268 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.004347, allocations: 0 / 0.5565 GB, free: 268 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002244/0.004571, allocations: 97.53 kB / 0.5566 GB, free: 164 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.004603, allocations: 55.39 kB / 0.5567 GB, free: 96 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.004675, allocations: 93.86 kB / 0.5568 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.004688, allocations: 29.7 kB / 0.5568 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.004725, allocations: 80.14 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.004745, allocations: 7.953 kB / 0.5569 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.004773, allocations: 13.7 kB / 0.5569 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.004853, allocations: 318.8 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/0.004902, allocations: 16.11 kB / 0.5572 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/0.004942, allocations: 23.97 kB / 0.5572 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.005029, allocations: 36.83 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.005031, allocations: 0 / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001122/0.005143, allocations: 77.53 kB / 0.5573 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.005156, allocations: 8.094 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005161, allocations: 0 / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.005174, allocations: 3.938 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.005245, allocations: 11.98 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.00525, allocations: 0 / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.005275, allocations: 7.984 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.00528, allocations: 0 / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.509e-05/0.005335, allocations: 109.8 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.005346, allocations: 3.938 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.005363, allocations: 11.31 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005365, allocations: 3.938 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.005371, allocations: 4 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.005376, allocations: 3.984 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.546e-05/0.005471, allocations: 124.8 kB / 0.5576 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.005472, allocations: 0 / 0.5576 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.005504, allocations: 11.98 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.005506, allocations: 3.938 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.005513, allocations: 0 / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005514, allocations: 0 / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.005516, allocations: 4.172 kB / 0.5576 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.005655, allocations: 175.4 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.005661, allocations: 7.922 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.005671, allocations: 4 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.85e-05/0.005709, allocations: 7.984 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.005753, allocations: 4 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.005755, allocations: 0 / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.671e-05/0.005782, allocations: 87.27 kB / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005782, allocations: 0 / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001397/0.005922, allocations: 8.031 kB / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003391/0.006261, allocations: 0.6928 MB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.006399, allocations: 39.95 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0064, allocations: 0 / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.006447, allocations: 28.06 kB / 0.5587 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.006669, allocations: 6.344 kB / 0.5587 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.007021, allocations: 126.6 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.918e-05/0.00707, allocations: 67.28 kB / 0.5588 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.007095, allocations: 3.938 kB / 0.5589 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.007136, allocations: 12.5 kB / 0.5589 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.007137, allocations: 4.062 kB / 0.5589 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.02473, allocations: 2.132 MB / 0.561 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.61/6.635, allocations: 6.875 kB / 0.561 GB, free: 11.67 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger_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_Conversions_Validation_RealToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.208848606795073] Failed to read output from testmodel.py, exit status != 0: 6.712993065826595 6.723193334 6.718502675 Calling exit ...