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.001484/0.001484, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001627/0.001627, allocations: 210.5 kB / 23.04 MB, free: 4.883 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.33/1.33, allocations: 230.6 MB / 256.8 MB, free: 7.746 MB / 206.1 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.883/0.883, allocations: 150 MB / 463.2 MB, free: 10.19 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.Utilities.Validation.Assert,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_Assert",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.001971/0.001971, allocations: 70.64 kB / 0.6413 GB, free: 9.844 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1501, allocations: 89.16 MB / 0.7283 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001709/0.1518, allocations: 0.581 MB / 0.7289 GB, free: 180 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1533, allocations: 1.12 MB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.1533, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.1534, allocations: 3.938 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.1534, allocations: 3.938 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.1539, allocations: 122.9 kB / 0.7301 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.154, allocations: 95.81 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.1541, allocations: 3.984 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.1541, allocations: 35.92 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.1542, allocations: 23.95 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1542, allocations: 11.94 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.1543, allocations: 23.98 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1543, allocations: 0 / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1544, allocations: 23.98 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1545, allocations: 88 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1545, allocations: 4 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1545, allocations: 0 / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1545, allocations: 0 / 0.7304 GB, free: 14.61 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004192/0.1549, allocations: 300 kB / 0.7307 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.155, allocations: 8.031 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.155, allocations: 34.69 kB / 0.7307 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1551, allocations: 4.938 kB / 0.7307 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1552, allocations: 114.4 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1552, allocations: 8.359 kB / 0.7309 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1552, allocations: 4.375 kB / 0.7309 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1553, allocations: 63.97 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1553, allocations: 3.938 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1553, allocations: 7.922 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1553, allocations: 0 / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.1553, allocations: 4 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.1557, allocations: 247.9 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.1557, allocations: 22.52 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.1557, allocations: 8.922 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.1558, allocations: 0 / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.1559, allocations: 85.09 kB / 0.7313 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1559, allocations: 4 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001864/0.1561, allocations: 73.56 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1561, allocations: 55.39 kB / 0.7314 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.1562, allocations: 105.8 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1562, allocations: 33.7 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1563, allocations: 80.14 kB / 0.7316 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1563, allocations: 7.953 kB / 0.7316 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.1564, allocations: 29.7 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.1565, allocations: 318.8 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.1566, allocations: 61.67 kB / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.1567, allocations: 80.27 kB / 0.7321 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.971e-05/0.1568, allocations: 84.14 kB / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1568, allocations: 320 / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002506/0.157, allocations: 177 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.1571, allocations: 35.73 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1571, allocations: 4 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1571, allocations: 4 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.279e-05/0.1571, allocations: 0 / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1571, allocations: 4.078 kB / 0.7324 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1573, allocations: 27.97 kB / 0.7324 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.1573, allocations: 12 kB / 0.7324 GB, free: 12.27 MB / 0.5606 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.164e-05/0.1574, allocations: 125.6 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.1574, allocations: 3.953 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.1574, allocations: 15.94 kB / 0.7326 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1574, allocations: 3.984 kB / 0.7326 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1575, allocations: 0 / 0.7326 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1575, allocations: 0 / 0.7326 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1576, allocations: 132.7 kB / 0.7327 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1576, allocations: 4 kB / 0.7327 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.1576, allocations: 0 / 0.7327 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1576, allocations: 0 / 0.7327 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1576, allocations: 0 / 0.7327 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1576, allocations: 0 / 0.7327 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1576, allocations: 0 / 0.7327 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1577, allocations: 85 kB / 0.7328 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.1577, allocations: 16.16 kB / 0.7328 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1577, allocations: 0 / 0.7328 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/0.1577, allocations: 0 / 0.7328 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.1577, allocations: 7.984 kB / 0.7328 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1577, allocations: 4 kB / 0.7328 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.1578, allocations: 87.27 kB / 0.7329 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.1578, allocations: 0 / 0.7329 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001981/0.158, allocations: 16 kB / 0.7329 GB, free: 11.7 MB / 0.5606 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.0004155/0.1584, allocations: 0.6163 MB / 0.7335 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1586, allocations: 133 kB / 0.7336 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1586, allocations: 0 / 0.7336 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.1587, allocations: 16.17 kB / 0.7337 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1588, allocations: 8 kB / 0.7337 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1603, allocations: 1.497 MB / 0.7351 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.1603, allocations: 59.34 kB / 0.7352 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.1603, allocations: 4 kB / 0.7352 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1604, allocations: 11.44 kB / 0.7352 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1604, allocations: 0 / 0.7352 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.1871, allocations: 2.606 MB / 0.7377 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.818/10.01, allocations: 0 / 0.7377 GB, free: 6.727 MB / 0.5606 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert_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_Utilities_Validation_Assert.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.388047162210569] Failed to read output from testmodel.py, exit status != 0: 10.10452076792717 10.1184805 9.961163544 Calling exit ...