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.001802/0.001802, allocations: 119 kB / 19.69 MB, free: 2.199 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.002379/0.002379, allocations: 225.2 kB / 23.01 MB, free: 5.047 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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.037/1.037, allocations: 150 MB / 463.1 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 178] 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.00206/0.00206, allocations: 61.81 kB / 0.6417 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2062, allocations: 89.18 MB / 0.7288 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00184/0.208, allocations: 0.5711 MB / 0.7294 GB, free: 244 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2096, allocations: 1.147 MB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.2096, allocations: 3.938 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.2096, allocations: 3.984 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.2097, allocations: 11.92 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.2102, allocations: 122.8 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.2103, allocations: 83.89 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.2104, allocations: 8 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/0.2105, allocations: 39.91 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.2106, allocations: 31.89 kB / 0.7308 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2106, allocations: 8 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.2107, allocations: 23.98 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.2107, allocations: 3.938 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.2108, allocations: 31.91 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.2109, allocations: 79.73 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2109, allocations: 0 / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.16e-06/0.2109, allocations: 4 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.2109, allocations: 3.984 kB / 0.7309 GB, free: 14.63 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.0004639/0.2114, allocations: 300 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2114, allocations: 12.03 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.2115, allocations: 4.938 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.2116, allocations: 106.5 kB / 0.7313 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2116, allocations: 12.36 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.2116, allocations: 8.312 kB / 0.7313 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.2117, allocations: 38.25 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2117, allocations: 192 / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2117, allocations: 3.938 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2117, allocations: 4 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.2118, allocations: 11.94 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.2122, allocations: 256 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.197e-05/0.2122, allocations: 26.5 kB / 0.7317 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.2122, allocations: 4.859 kB / 0.7317 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.2122, allocations: 0 / 0.7317 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.2124, allocations: 67.39 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2124, allocations: 0 / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001876/0.2126, allocations: 65.64 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.2126, allocations: 51.41 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2127, allocations: 105.8 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2128, allocations: 29.7 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.2128, allocations: 84.14 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.2128, allocations: 7.953 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.2129, allocations: 29.7 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.2131, allocations: 322.8 kB / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.2131, allocations: 23.98 kB / 0.7324 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.2132, allocations: 62.44 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.2133, allocations: 80.27 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.2133, allocations: 3.938 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002478/0.2136, allocations: 143.3 kB / 0.7327 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.2136, allocations: 37.69 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2136, allocations: 0 / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2137, allocations: 0 / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.049e-05/0.2137, allocations: 7.938 kB / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2137, allocations: 4 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.2139, allocations: 32 kB / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.2139, allocations: 4 kB / 0.7328 GB, free: 12.49 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.726e-05/0.214, allocations: 123.7 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.214, allocations: 7.953 kB / 0.7329 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.214, allocations: 4 kB / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2141, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2141, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2141, allocations: 240 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2142, allocations: 140.7 kB / 0.733 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2142, allocations: 4 kB / 0.733 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-06/0.2142, allocations: 0 / 0.733 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2142, allocations: 3.984 kB / 0.733 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2142, allocations: 4.25 kB / 0.7331 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2142, allocations: 4 kB / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2142, allocations: 4 kB / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.2143, allocations: 81 kB / 0.7331 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.2143, allocations: 7.953 kB / 0.7331 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.2143, allocations: 7.984 kB / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.2144, allocations: 4 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.2144, allocations: 0 / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2144, allocations: 4 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.2145, allocations: 83.27 kB / 0.7332 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2145, allocations: 0 / 0.7332 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002056/0.2147, allocations: 20 kB / 0.7333 GB, free: 11.92 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.0001288/0.2148, allocations: 95.23 kB / 0.7333 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.215, allocations: 115.3 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.215, allocations: 3.938 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.215, allocations: 7.984 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2152, allocations: 15.94 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.2155, allocations: 110.2 kB / 0.7336 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.2158, allocations: 0.6807 MB / 0.7343 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.2158, allocations: 8.172 kB / 0.7343 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.2158, allocations: 11.44 kB / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2158, allocations: 0 / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.003769/0.2196, allocations: 1.074 MB / 0.7353 GB, free: 9.742 MB / 0.5606 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.244241077918559] Failed to read output from testmodel.py, exit status != 0: 0.2283497671596706 0.242644294 0.028664945 Calling exit ...