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.001657/0.001657, 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.001654/0.001654, allocations: 222.2 kB / 23.01 MB, free: 5.043 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.984 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 0.9921/0.9921, allocations: 150 MB / 463.2 MB, free: 10.47 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.002084/0.002084, allocations: 65.97 kB / 0.6412 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2047, allocations: 89.17 MB / 0.7283 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002754/0.2074, allocations: 0.5712 MB / 0.7289 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.2098, allocations: 1.147 MB / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.2099, allocations: 0 / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.21, allocations: 3.938 kB / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.2101, allocations: 3.984 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008226/0.2109, allocations: 127.1 kB / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.2112, allocations: 99.77 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2113, allocations: 7.984 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.2114, allocations: 35.97 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.2116, allocations: 27.91 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.2116, allocations: 8 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.2117, allocations: 19.98 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2117, allocations: 4 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.2118, allocations: 35.89 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.2121, allocations: 84.02 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2121, allocations: 0 / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2121, allocations: 4 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.2121, allocations: 0 / 0.7305 GB, free: 15.08 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.0006218/0.2127, allocations: 296 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.2128, allocations: 8.031 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.2128, allocations: 34.75 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.2129, allocations: 12.92 kB / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.213, allocations: 110.4 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.213, allocations: 4.375 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.213, allocations: 4.375 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.2131, allocations: 42.25 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2132, allocations: 3.938 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2132, allocations: 4 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2132, allocations: 0 / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.2132, allocations: 0 / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.2136, allocations: 256 kB / 0.7312 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.899e-05/0.2137, allocations: 26.45 kB / 0.7312 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.2137, allocations: 16.84 kB / 0.7312 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2137, allocations: 0 / 0.7312 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.2139, allocations: 59.47 kB / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.2139, allocations: 0 / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002033/0.2141, allocations: 69.56 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.2142, allocations: 51.41 kB / 0.7314 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.2143, allocations: 109.8 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2143, allocations: 29.7 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.2144, allocations: 84.14 kB / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2144, allocations: 7.953 kB / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.2144, allocations: 33.64 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2146, allocations: 314.8 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.2147, allocations: 31.97 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.262e-05/0.2148, allocations: 50.5 kB / 0.732 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2149, allocations: 92.36 kB / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2149, allocations: 4 kB / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002827/0.2152, allocations: 143.3 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.2152, allocations: 33.7 kB / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2152, allocations: 7.984 kB / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2153, allocations: 0 / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.015e-05/0.2153, allocations: 4.094 kB / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.2153, allocations: 4 kB / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.2155, allocations: 27.91 kB / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2155, allocations: 4 kB / 0.7323 GB, free: 12.9 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 0.0001256/0.2157, allocations: 121.7 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.2157, allocations: 7.938 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.2157, allocations: 8 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2157, allocations: 4 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2157, allocations: 0 / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2157, allocations: 0 / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.2159, allocations: 136.7 kB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2159, allocations: 0 / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.2159, allocations: 0 / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2159, allocations: 3.984 kB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2159, allocations: 4 kB / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2159, allocations: 0 / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2159, allocations: 0 / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.2161, allocations: 85.06 kB / 0.7327 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.2161, allocations: 3.953 kB / 0.7327 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2161, allocations: 4.312 kB / 0.7327 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.2161, allocations: 4 kB / 0.7327 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.2161, allocations: 7.922 kB / 0.7327 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2161, allocations: 4 kB / 0.7327 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.885e-05/0.2162, allocations: 83.28 kB / 0.7328 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2162, allocations: 0 / 0.7328 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002365/0.2164, allocations: 15.98 kB / 0.7328 GB, free: 12.34 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.0005214/0.217, allocations: 0.6202 MB / 0.7334 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.2172, allocations: 111.3 kB / 0.7335 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2172, allocations: 0 / 0.7335 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.2173, allocations: 12 kB / 0.7335 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.2175, allocations: 15.08 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.2192, allocations: 1.368 MB / 0.7349 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.2196, allocations: 0.6807 MB / 0.7356 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.2196, allocations: 240 / 0.7356 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.2196, allocations: 19.42 kB / 0.7356 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.2196, allocations: 0 / 0.7356 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.2478, allocations: 2.08 MB / 0.7376 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.12, allocations: 0 / 0.7376 GB, free: 7.422 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.007898500887677] Failed to read output from testmodel.py, exit status != 0: 11.221226812107489 11.236774135 11.021498886 Calling exit ...