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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 110.7 kB / 19.59 MB, free: 2.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 191.6 kB / 22.85 MB, free: 5.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9841/0.9841, allocations: 149.5 MB / 456.3 MB, free: 1.285 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.08 kB / 0.6324 GB, free: 9.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2192, allocations: 87.87 MB / 0.7182 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001866/0.221, allocations: 0.5903 MB / 0.7188 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2228, allocations: 1.116 MB / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.2228, allocations: 0 / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.2229, allocations: 3.938 kB / 0.7199 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.169e-05/0.2229, allocations: 11.92 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.2235, allocations: 118.6 kB / 0.72 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.2237, allocations: 87.83 kB / 0.7201 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2238, allocations: 15.97 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.2239, allocations: 31.98 kB / 0.7201 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.224, allocations: 35.83 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.224, allocations: 8 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.2241, allocations: 16 kB / 0.7202 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.2242, allocations: 7.984 kB / 0.7202 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.2242, allocations: 35.91 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2244, allocations: 79.8 kB / 0.7203 GB, free: 15.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2244, allocations: 0 / 0.7203 GB, free: 15.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2245, allocations: 3.938 kB / 0.7203 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.2245, allocations: 0 / 0.7203 GB, free: 15.07 MB / 0.545 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.0006135/0.2251, allocations: 297.4 kB / 0.7206 GB, free: 14.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2251, allocations: 8.625 kB / 0.7206 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.2252, allocations: 8.938 kB / 0.7206 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.2253, allocations: 106.5 kB / 0.7207 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2253, allocations: 8.359 kB / 0.7207 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.2254, allocations: 8.375 kB / 0.7207 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2255, allocations: 34.27 kB / 0.7207 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2255, allocations: 192 / 0.7207 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2255, allocations: 7.922 kB / 0.7207 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2255, allocations: 0 / 0.7207 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.473e-05/0.2255, allocations: 4 kB / 0.7207 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.226, allocations: 263.8 kB / 0.721 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.226, allocations: 26.52 kB / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.2261, allocations: 12.92 kB / 0.721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.2261, allocations: 0 / 0.721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.2262, allocations: 63.39 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.2262, allocations: 0 / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002091/0.2264, allocations: 57.62 kB / 0.7211 GB, free: 14.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.2265, allocations: 63.39 kB / 0.7212 GB, free: 13.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2266, allocations: 101.9 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.2266, allocations: 29.7 kB / 0.7213 GB, free: 13.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.2267, allocations: 96.02 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.2267, allocations: 7.984 kB / 0.7214 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.2268, allocations: 29.7 kB / 0.7215 GB, free: 13.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2269, allocations: 310.8 kB / 0.7218 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.227, allocations: 27.98 kB / 0.7218 GB, free: 13.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.595e-05/0.2271, allocations: 54.55 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.2272, allocations: 88.42 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2272, allocations: 3.938 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002723/0.2275, allocations: 143.2 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.2275, allocations: 37.7 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2275, allocations: 4.094 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2275, allocations: 4 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.842e-05/0.2276, allocations: 3.938 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.2276, allocations: 3.938 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.2278, allocations: 27.95 kB / 0.7221 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2278, allocations: 4 kB / 0.7221 GB, free: 12.94 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 0.000108/0.2279, allocations: 121.8 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.2279, allocations: 4 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.228, allocations: 4 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.228, allocations: 4 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.228, allocations: 3.984 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.228, allocations: 0 / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.2282, allocations: 132.7 kB / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2282, allocations: 0 / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-06/0.2282, allocations: 4 kB / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2282, allocations: 0 / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.2282, allocations: 0 / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2282, allocations: 0 / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2282, allocations: 4 kB / 0.7224 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.2283, allocations: 92.94 kB / 0.7225 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.2283, allocations: 320 / 0.7225 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2283, allocations: 0 / 0.7225 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.2283, allocations: 8 kB / 0.7225 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.2284, allocations: 3.984 kB / 0.7225 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2284, allocations: 0 / 0.7225 GB, free: 12.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.2284, allocations: 87.28 kB / 0.7226 GB, free: 12.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2284, allocations: 7.938 kB / 0.7226 GB, free: 12.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002328/0.2287, allocations: 12 kB / 0.7226 GB, free: 12.38 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.0001551/0.2288, allocations: 103.2 kB / 0.7227 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.2291, allocations: 111.3 kB / 0.7228 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2291, allocations: 0 / 0.7228 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.2291, allocations: 8 kB / 0.7228 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.2293, allocations: 16.11 kB / 0.7228 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.2296, allocations: 115.7 kB / 0.723 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.23, allocations: 0.6807 MB / 0.7236 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.23, allocations: 0 / 0.7236 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.23, allocations: 11.44 kB / 0.7236 GB, free: 11.27 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.23, allocations: 0 / 0.7236 GB, free: 11.27 MB / 0.545 GB Notification: Performance of Templates: time 0.004344/0.2344, allocations: 1.087 MB / 0.7247 GB, free: 10.19 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.095479231327772] Failed to read output from testmodel.py, exit status != 0: 0.24349520541727543 0.259028881 0.0313558 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fddcca257b0>