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.00137/0.00137, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001472/0.001472, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.088/1.088, allocations: 149.9 MB / 459.5 MB, free: 5.691 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: 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: 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.002134/0.002134, allocations: 64.78 kB / 0.6366 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.219, allocations: 89.14 MB / 0.7236 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002066/0.221, allocations: 0.5767 MB / 0.7242 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2227, allocations: 1.142 MB / 0.7253 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.2228, allocations: 4 kB / 0.7253 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.2228, allocations: 0 / 0.7253 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.076e-05/0.2229, allocations: 7.922 kB / 0.7253 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.2234, allocations: 126.7 kB / 0.7254 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.2236, allocations: 95.81 kB / 0.7255 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.2237, allocations: 0 / 0.7255 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.2238, allocations: 31.97 kB / 0.7255 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2239, allocations: 35.89 kB / 0.7256 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.2239, allocations: 11.94 kB / 0.7256 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.97e-05/0.224, allocations: 19.98 kB / 0.7256 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.224, allocations: 4 kB / 0.7256 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.224, allocations: 31.91 kB / 0.7256 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2242, allocations: 83.73 kB / 0.7257 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2242, allocations: 0 / 0.7257 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2242, allocations: 4 kB / 0.7257 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2242, allocations: 0 / 0.7257 GB, free: 1.551 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.000612/0.2248, allocations: 373.1 kB / 0.7261 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.2249, allocations: 12.02 kB / 0.7261 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.2249, allocations: 4.938 kB / 0.7261 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.2251, allocations: 172.3 kB / 0.7263 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.2251, allocations: 8.375 kB / 0.7263 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.2251, allocations: 4.375 kB / 0.7263 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.2252, allocations: 38.25 kB / 0.7263 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.2252, allocations: 4.125 kB / 0.7263 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2253, allocations: 7.938 kB / 0.7263 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.2253, allocations: 0 / 0.7263 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/0.2253, allocations: 8 kB / 0.7263 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.2257, allocations: 280.9 kB / 0.7266 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.2258, allocations: 22.5 kB / 0.7266 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.2258, allocations: 12.92 kB / 0.7266 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.619e-06/0.2258, allocations: 0 / 0.7266 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.226, allocations: 63.33 kB / 0.7267 GB, free: 392 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.226, allocations: 0 / 0.7267 GB, free: 392 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001981/0.2262, allocations: 61.64 kB / 0.7267 GB, free: 324 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2262, allocations: 59.34 kB / 0.7268 GB, free: 252 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2263, allocations: 113.8 kB / 0.7269 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2264, allocations: 33.7 kB / 0.7269 GB, free: 88 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.2264, allocations: 88.12 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.2265, allocations: 3.953 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.2265, allocations: 29.66 kB / 0.7271 GB, free: 15.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2267, allocations: 318.8 kB / 0.7274 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.2267, allocations: 27.98 kB / 0.7274 GB, free: 15.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.2268, allocations: 46.56 kB / 0.7274 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.227, allocations: 84.2 kB / 0.7275 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.227, allocations: 7.938 kB / 0.7275 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002664/0.2272, allocations: 143.3 kB / 0.7277 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.2273, allocations: 37.69 kB / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2273, allocations: 4 kB / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2273, allocations: 0 / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.575e-05/0.2273, allocations: 0 / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2273, allocations: 4.094 kB / 0.7277 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.2275, allocations: 35.86 kB / 0.7277 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.2275, allocations: 4 kB / 0.7277 GB, free: 15.21 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.0001172/0.2277, allocations: 121.8 kB / 0.7279 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.2277, allocations: 0 / 0.7279 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.2277, allocations: 7.906 kB / 0.7279 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2277, allocations: 240 / 0.7279 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2277, allocations: 4 kB / 0.7279 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2277, allocations: 0 / 0.7279 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2279, allocations: 165.6 kB / 0.728 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2279, allocations: 4.312 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-06/0.2279, allocations: 0 / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2279, allocations: 0 / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2279, allocations: 4 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2279, allocations: 0 / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2279, allocations: 3.938 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.228, allocations: 85.06 kB / 0.7281 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.2281, allocations: 85.05 kB / 0.7282 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2281, allocations: 0 / 0.7282 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.375e-05/0.2281, allocations: 0 / 0.7282 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.2281, allocations: 8 kB / 0.7282 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2281, allocations: 3.938 kB / 0.7282 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.2282, allocations: 83.27 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2282, allocations: 4 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002054/0.2284, allocations: 16 kB / 0.7283 GB, free: 14.52 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.0001755/0.2286, allocations: 99.25 kB / 0.7284 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.2288, allocations: 115.2 kB / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2288, allocations: 0 / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.2288, allocations: 7.984 kB / 0.7285 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.229, allocations: 15.94 kB / 0.7285 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.2294, allocations: 118.1 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.2297, allocations: 0.6768 MB / 0.7293 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.2298, allocations: 3.984 kB / 0.7293 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.2298, allocations: 11.44 kB / 0.7293 GB, free: 13.41 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2298, allocations: 0 / 0.7293 GB, free: 13.41 MB / 0.545 GB Notification: Performance of Templates: time 0.004199/0.234, allocations: 1.068 MB / 0.7304 GB, free: 12.35 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.368262429954484] Failed to read output from testmodel.py, exit status != 0: 0.2422819568309933 0.255501199 0.028464609000000002 Calling exit ...