Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001361/0.001361, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001739/0.001739, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.559/1.559, allocations: 230.6 MB / 254.2 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 0.9599/0.9599, allocations: 150 MB / 460.2 MB, free: 5.293 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.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",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.001912/0.001912, allocations: 66.86 kB / 0.6368 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1597, allocations: 89.14 MB / 0.7238 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001855/0.1616, allocations: 0.658 MB / 0.7245 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.163, allocations: 1.114 MB / 0.7256 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.1631, allocations: 0 / 0.7256 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.1631, allocations: 0 / 0.7256 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.1632, allocations: 19.84 kB / 0.7256 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1634, allocations: 39.84 kB / 0.7256 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.1635, allocations: 51.89 kB / 0.7257 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.1636, allocations: 4 kB / 0.7257 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.1637, allocations: 27.92 kB / 0.7257 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.1637, allocations: 15.92 kB / 0.7257 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1638, allocations: 8 kB / 0.7257 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.962e-05/0.1639, allocations: 35.84 kB / 0.7257 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.1639, allocations: 11.92 kB / 0.7258 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.1639, allocations: 19.92 kB / 0.7258 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1641, allocations: 68 kB / 0.7258 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1641, allocations: 0 / 0.7258 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1641, allocations: 0 / 0.7258 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.1641, allocations: 0 / 0.7258 GB, free: 2.148 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006296/0.1647, allocations: 375.2 kB / 0.7262 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1647, allocations: 12.03 kB / 0.7262 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.519e-05/0.1648, allocations: 192 / 0.7262 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.1648, allocations: 30.75 kB / 0.7262 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.1649, allocations: 4.938 kB / 0.7262 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.165, allocations: 184.2 kB / 0.7264 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.165, allocations: 384 / 0.7264 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.165, allocations: 4.375 kB / 0.7264 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1652, allocations: 73.97 kB / 0.7265 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1652, allocations: 0 / 0.7265 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1653, allocations: 0 / 0.7265 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1653, allocations: 0 / 0.7265 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1655, allocations: 43.95 kB / 0.7265 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1659, allocations: 280.8 kB / 0.7268 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1661, allocations: 58.48 kB / 0.7269 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1662, allocations: 28.97 kB / 0.7269 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1662, allocations: 8 kB / 0.7269 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.1664, allocations: 71.36 kB / 0.727 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.1664, allocations: 0 / 0.727 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004437/0.1669, allocations: 137.6 kB / 0.7271 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1669, allocations: 59.34 kB / 0.7272 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.167, allocations: 105.8 kB / 0.7273 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.167, allocations: 25.7 kB / 0.7273 GB, free: 472 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.1671, allocations: 84.14 kB / 0.7274 GB, free: 384 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.1671, allocations: 27.78 kB / 0.7274 GB, free: 356 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.1672, allocations: 25.72 kB / 0.7274 GB, free: 324 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1673, allocations: 322.8 kB / 0.7277 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1674, allocations: 23.98 kB / 0.7277 GB, free: 15.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1676, allocations: 56.27 kB / 0.7278 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.1678, allocations: 96.31 kB / 0.7279 GB, free: 15.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1678, allocations: 0 / 0.7279 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003037/0.1681, allocations: 121.6 kB / 0.728 GB, free: 15.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1681, allocations: 8 kB / 0.728 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1681, allocations: 0 / 0.728 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1681, allocations: 0 / 0.728 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1683, allocations: 24.17 kB / 0.728 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1683, allocations: 4 kB / 0.728 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.1683, allocations: 15.94 kB / 0.7281 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1684, allocations: 4 kB / 0.7281 GB, free: 15.61 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.396e-05/0.1684, allocations: 121.8 kB / 0.7282 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.1685, allocations: 4 kB / 0.7282 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.1688, allocations: 109.9 kB / 0.7283 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1688, allocations: 0 / 0.7283 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1688, allocations: 0 / 0.7283 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1688, allocations: 0 / 0.7283 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.1693, allocations: 366.4 kB / 0.7286 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1693, allocations: 0 / 0.7286 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.1693, allocations: 19.92 kB / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1694, allocations: 0 / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1694, allocations: 0 / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1694, allocations: 0 / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1694, allocations: 3.938 kB / 0.7287 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.1697, allocations: 195.5 kB / 0.7288 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.1697, allocations: 92.94 kB / 0.7289 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1697, allocations: 0 / 0.7289 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1698, allocations: 7.984 kB / 0.7289 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1699, allocations: 11.92 kB / 0.7289 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1699, allocations: 0 / 0.7289 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.17, allocations: 87.28 kB / 0.729 GB, free: 14.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.17, allocations: 0 / 0.729 GB, free: 14.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002528/0.1702, allocations: 16 kB / 0.729 GB, free: 14.48 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00066/0.1709, allocations: 0.7346 MB / 0.7298 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.1711, allocations: 71.89 kB / 0.7298 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1711, allocations: 0 / 0.7298 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1713, allocations: 36.53 kB / 0.7299 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1715, allocations: 7.938 kB / 0.7299 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.1733, allocations: 1.432 MB / 0.7313 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1736, allocations: 0.6885 MB / 0.7319 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.1736, allocations: 4 kB / 0.7319 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.1736, allocations: 15.42 kB / 0.732 GB, free: 11.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.1736, allocations: 0 / 0.732 GB, free: 11.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.1915, allocations: 1.863 MB / 0.7338 GB, free: 9.605 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/8.688, allocations: 6.062 kB / 0.7338 GB, free: 9.602 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.569649053970352] Failed to read output from testmodel.py, exit status != 0: 8.814921822980978 8.843854987 8.674146808 Calling exit ...