Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.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.001477/0.001477, allocations: 118 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.001522/0.001522, allocations: 203.8 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.556/1.556, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.004/1.004, allocations: 150 MB / 460.2 MB, free: 5.258 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.Utilities.Validation.Assert,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_Assert",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.002075/0.002075, allocations: 64.12 kB / 0.6368 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1618, allocations: 89.14 MB / 0.7238 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001869/0.1637, allocations: 0.572 MB / 0.7244 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1653, allocations: 1.149 MB / 0.7255 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.1653, allocations: 0 / 0.7255 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.1654, allocations: 3.938 kB / 0.7255 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.405e-05/0.1654, allocations: 8 kB / 0.7255 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.1659, allocations: 122.1 kB / 0.7256 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.166, allocations: 91.75 kB / 0.7257 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.115e-05/0.1661, allocations: 11.98 kB / 0.7257 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.1662, allocations: 27.98 kB / 0.7258 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1663, allocations: 35.83 kB / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1663, allocations: 8 kB / 0.7258 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.1664, allocations: 27.97 kB / 0.7258 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1664, allocations: 4 kB / 0.7258 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.1665, allocations: 27.92 kB / 0.7259 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1666, allocations: 87.98 kB / 0.7259 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1666, allocations: 0 / 0.7259 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1666, allocations: 4 kB / 0.7259 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1666, allocations: 0 / 0.7259 GB, free: 1.879 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000526/0.1672, allocations: 373.1 kB / 0.7263 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1672, allocations: 12.03 kB / 0.7263 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.264e-05/0.1672, allocations: 192 / 0.7263 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.1672, allocations: 34.75 kB / 0.7263 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1673, allocations: 4.938 kB / 0.7263 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.1674, allocations: 176.3 kB / 0.7265 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1674, allocations: 384 / 0.7265 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1675, allocations: 4.375 kB / 0.7265 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.1676, allocations: 46 kB / 0.7266 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1676, allocations: 0 / 0.7266 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.1676, allocations: 0 / 0.7266 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1676, allocations: 0 / 0.7266 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.1676, allocations: 4 kB / 0.7266 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.168, allocations: 288.8 kB / 0.7268 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.454e-05/0.1681, allocations: 26.52 kB / 0.7269 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.1681, allocations: 8.844 kB / 0.7269 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1681, allocations: 0 / 0.7269 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.1682, allocations: 63.47 kB / 0.7269 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.1682, allocations: 3.938 kB / 0.7269 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001974/0.1684, allocations: 73.56 kB / 0.727 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.1685, allocations: 51.41 kB / 0.7271 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.1686, allocations: 105.8 kB / 0.7272 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1686, allocations: 25.7 kB / 0.7272 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.1687, allocations: 92.12 kB / 0.7273 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.1687, allocations: 3.953 kB / 0.7273 GB, free: 292 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.1687, allocations: 29.7 kB / 0.7273 GB, free: 256 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1689, allocations: 330.8 kB / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.169, allocations: 23.98 kB / 0.7276 GB, free: 15.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.169, allocations: 46.56 kB / 0.7277 GB, free: 15.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1692, allocations: 84.44 kB / 0.7278 GB, free: 15.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1692, allocations: 0 / 0.7278 GB, free: 15.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002678/0.1694, allocations: 151.3 kB / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.1695, allocations: 35.73 kB / 0.7279 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1695, allocations: 7.922 kB / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1695, allocations: 0 / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-05/0.1695, allocations: 0 / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1695, allocations: 4 kB / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1697, allocations: 31.86 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.1697, allocations: 8 kB / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 9.793e-05/0.1698, allocations: 121.8 kB / 0.7281 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.1699, allocations: 7.984 kB / 0.7281 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.1699, allocations: 7.906 kB / 0.7281 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1699, allocations: 0 / 0.7281 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1699, allocations: 0 / 0.7281 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1699, allocations: 0 / 0.7281 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.17, allocations: 161.6 kB / 0.7283 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.17, allocations: 0 / 0.7283 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-06/0.17, allocations: 3.984 kB / 0.7283 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.17, allocations: 4 kB / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1701, allocations: 0 / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1701, allocations: 0 / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1701, allocations: 4.312 kB / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.1702, allocations: 77.06 kB / 0.7284 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.1702, allocations: 81.06 kB / 0.7284 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1702, allocations: 15.92 kB / 0.7285 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.543e-05/0.1702, allocations: 0 / 0.7285 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.1703, allocations: 7.938 kB / 0.7285 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1703, allocations: 4 kB / 0.7285 GB, free: 14.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.1703, allocations: 83.28 kB / 0.7286 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1703, allocations: 0 / 0.7286 GB, free: 14.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002143/0.1705, allocations: 15.98 kB / 0.7286 GB, free: 14.8 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0004403/0.171, allocations: 0.6202 MB / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1712, allocations: 111.3 kB / 0.7293 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1712, allocations: 0 / 0.7293 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.1712, allocations: 4 kB / 0.7293 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.1714, allocations: 4 kB / 0.7293 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1729, allocations: 1.373 MB / 0.7306 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1732, allocations: 0.6807 MB / 0.7313 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.1732, allocations: 4 kB / 0.7313 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.1733, allocations: 15.44 kB / 0.7313 GB, free: 11.83 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1733, allocations: 0 / 0.7313 GB, free: 11.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.1911, allocations: 2.007 MB / 0.7333 GB, free: 9.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.506, allocations: 12.59 kB / 0.7333 GB, free: 9.949 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.550747900037095] Failed to read output from testmodel.py, exit status != 0: 8.632732602010947 8.656552819 8.48524993 Calling exit ...