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.001524/0.001524, 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.002133/0.002133, allocations: 211.1 kB / 23.04 MB, free: 4.887 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.991/0.991, allocations: 150 MB / 463.2 MB, free: 10.21 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.002021/0.002021, allocations: 62.16 kB / 0.6413 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.185, allocations: 89.18 MB / 0.7283 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001961/0.1869, allocations: 0.5712 MB / 0.7289 GB, free: 204 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1885, allocations: 1.124 MB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.1886, allocations: 4 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.1886, allocations: 3.938 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.1887, allocations: 3.938 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.1892, allocations: 119.1 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1894, allocations: 95.83 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.1894, allocations: 3.984 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.424e-05/0.1895, allocations: 31.92 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.751e-05/0.1896, allocations: 31.89 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.1896, allocations: 8 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.1897, allocations: 23.97 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.1897, allocations: 4 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.1898, allocations: 27.92 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.19, allocations: 76.08 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.19, allocations: 4 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.19, allocations: 0 / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.19, allocations: 4 kB / 0.7304 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.0004906/0.1905, allocations: 300 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1905, allocations: 15.91 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.874e-05/0.1906, allocations: 30.75 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.1907, allocations: 4.938 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1908, allocations: 114.5 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1908, allocations: 4.375 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1908, allocations: 8.359 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1909, allocations: 63.95 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1909, allocations: 3.938 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1909, allocations: 4 kB / 0.7309 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1909, allocations: 0 / 0.7309 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.191, allocations: 4 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1914, allocations: 247.9 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.1914, allocations: 18.52 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.1914, allocations: 12.92 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.1914, allocations: 3.938 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.1916, allocations: 85.09 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1916, allocations: 0 / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002018/0.1918, allocations: 69.58 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1919, allocations: 55.41 kB / 0.7314 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.192, allocations: 105.8 kB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.192, allocations: 29.7 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.1921, allocations: 88.12 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.1921, allocations: 11.94 kB / 0.7316 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.1921, allocations: 29.7 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1923, allocations: 314.8 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1924, allocations: 57.94 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1926, allocations: 84.25 kB / 0.7321 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1928, allocations: 92.14 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1928, allocations: 0 / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002682/0.193, allocations: 169 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.1931, allocations: 43.72 kB / 0.7324 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1931, allocations: 0 / 0.7324 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1931, allocations: 4 kB / 0.7324 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.574e-05/0.1931, allocations: 0 / 0.7324 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1931, allocations: 3.938 kB / 0.7324 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1933, allocations: 32 kB / 0.7324 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.1934, allocations: 11.92 kB / 0.7325 GB, free: 12.29 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.564e-05/0.1935, allocations: 121.8 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.1935, allocations: 3.953 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.1935, allocations: 8 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1935, allocations: 0 / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1935, allocations: 0 / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1935, allocations: 0 / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.1936, allocations: 128.7 kB / 0.7327 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1936, allocations: 4.234 kB / 0.7327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.1936, allocations: 4 kB / 0.7327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1936, allocations: 0 / 0.7327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1936, allocations: 3.984 kB / 0.7327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1936, allocations: 0 / 0.7327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1937, allocations: 3.984 kB / 0.7327 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.1938, allocations: 85 kB / 0.7328 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.1938, allocations: 11.95 kB / 0.7328 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1938, allocations: 0 / 0.7328 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.1938, allocations: 0 / 0.7328 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.1938, allocations: 3.984 kB / 0.7328 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1938, allocations: 4 kB / 0.7328 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.1939, allocations: 95.28 kB / 0.7329 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1939, allocations: 0 / 0.7329 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002103/0.1941, allocations: 16 kB / 0.7329 GB, free: 11.72 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.0004662/0.1946, allocations: 0.6124 MB / 0.7335 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.1948, allocations: 141 kB / 0.7337 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1948, allocations: 0 / 0.7337 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.1948, allocations: 8 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.195, allocations: 20.16 kB / 0.7337 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1967, allocations: 1.489 MB / 0.7351 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.1968, allocations: 59.36 kB / 0.7352 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.1968, allocations: 7.984 kB / 0.7352 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1968, allocations: 11.44 kB / 0.7352 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1968, allocations: 0 / 0.7352 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09463/0.2914, allocations: 2.602 MB / 0.7378 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.7, allocations: 7.938 kB / 0.7378 GB, free: 6.738 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.134598481003195] Failed to read output from testmodel.py, exit status != 0: 11.80898219300434 11.827680849 11.63402038 Calling exit ...