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.001871/0.001871, allocations: 109 kB / 20.48 MB, free: 1.473 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.002709/0.002709, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.487/1.487, allocations: 230.6 MB / 257.6 MB, free: 8.043 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.9372/0.9372, allocations: 150 MB / 464 MB, free: 10.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="cs",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.001977/0.001977, allocations: 66.62 kB / 0.642 GB, free: 10.53 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1809, allocations: 89.17 MB / 0.7291 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001809/0.1827, allocations: 0.5883 MB / 0.7297 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1844, allocations: 1.147 MB / 0.7308 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.1844, allocations: 0 / 0.7308 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.1844, allocations: 0 / 0.7308 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.1845, allocations: 11.92 kB / 0.7308 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.185, allocations: 123.6 kB / 0.7309 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1852, allocations: 91.88 kB / 0.731 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.1853, allocations: 4 kB / 0.731 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.1853, allocations: 39.75 kB / 0.731 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1855, allocations: 31.89 kB / 0.7311 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1855, allocations: 11.98 kB / 0.7311 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.1855, allocations: 19.98 kB / 0.7311 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.1856, allocations: 4 kB / 0.7311 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.1856, allocations: 27.92 kB / 0.7311 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1858, allocations: 80.02 kB / 0.7312 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1858, allocations: 4 kB / 0.7312 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1858, allocations: 4 kB / 0.7312 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1858, allocations: 0 / 0.7312 GB, free: 15.24 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.0005532/0.1864, allocations: 300 kB / 0.7315 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.1865, allocations: 12.03 kB / 0.7315 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.303e-05/0.1865, allocations: 192 / 0.7315 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.1865, allocations: 38.69 kB / 0.7316 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.1866, allocations: 4.938 kB / 0.7316 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1867, allocations: 110.5 kB / 0.7317 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1867, allocations: 384 / 0.7317 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1867, allocations: 8.375 kB / 0.7317 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1869, allocations: 49.94 kB / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1869, allocations: 0 / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1869, allocations: 0 / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1869, allocations: 0 / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.1869, allocations: 4 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1874, allocations: 255.9 kB / 0.732 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.617e-05/0.1875, allocations: 30.5 kB / 0.732 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.1875, allocations: 8.922 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.1875, allocations: 4 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1877, allocations: 55.39 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1877, allocations: 4 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002089/0.1879, allocations: 61.58 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.188, allocations: 55.41 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1881, allocations: 109.8 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1881, allocations: 29.7 kB / 0.7323 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.1882, allocations: 84.12 kB / 0.7324 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1882, allocations: 11.95 kB / 0.7324 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.1883, allocations: 33.64 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1884, allocations: 322.8 kB / 0.7327 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.1885, allocations: 27.98 kB / 0.7328 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.1886, allocations: 50.56 kB / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1887, allocations: 84.2 kB / 0.7329 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1887, allocations: 0 / 0.7329 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002874/0.189, allocations: 139.3 kB / 0.733 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.1891, allocations: 41.69 kB / 0.7331 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1891, allocations: 0 / 0.7331 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1891, allocations: 4.328 kB / 0.7331 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.186e-05/0.1891, allocations: 4 kB / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1891, allocations: 320 / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.1893, allocations: 27.91 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1894, allocations: 8 kB / 0.7331 GB, free: 13.06 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.0001045/0.1895, allocations: 121.8 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1895, allocations: 11.94 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.1895, allocations: 8 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1895, allocations: 0 / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1895, allocations: 0 / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1895, allocations: 4 kB / 0.7333 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1897, allocations: 140.6 kB / 0.7334 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1897, allocations: 0 / 0.7334 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-06/0.1897, allocations: 3.938 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1897, allocations: 0 / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1897, allocations: 4 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1897, allocations: 0 / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1897, allocations: 0 / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.1898, allocations: 81.06 kB / 0.7335 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.1898, allocations: 11.94 kB / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1898, allocations: 0 / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.1898, allocations: 0 / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1899, allocations: 4 kB / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1899, allocations: 0 / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.1899, allocations: 87.27 kB / 0.7336 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1899, allocations: 0 / 0.7336 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002124/0.1901, allocations: 20 kB / 0.7336 GB, free: 12.49 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.0005194/0.1907, allocations: 0.6201 MB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1909, allocations: 111.3 kB / 0.7343 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1909, allocations: 0 / 0.7343 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.1909, allocations: 12.19 kB / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.1911, allocations: 11.98 kB / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1927, allocations: 1.361 MB / 0.7357 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.193, allocations: 0.6807 MB / 0.7363 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.1931, allocations: 4 kB / 0.7363 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.1931, allocations: 15.42 kB / 0.7363 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1931, allocations: 7.875 kB / 0.7363 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.216, allocations: 2.106 MB / 0.7384 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.28, allocations: 11.98 kB / 0.7384 GB, free: 7.555 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 os._exit(0), Time elapsed: 15.16233232698869] Failed to read output from testmodel.py, exit status != 0: 11.438561464019585 11.461851529 11.271561187 Calling exit ...