Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001251/0.001251, 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.001465/0.001465, allocations: 209.8 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.568/1.568, allocations: 230.6 MB / 257.6 MB, free: 8 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.028/1.028, allocations: 150 MB / 464 MB, free: 10.52 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.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",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.002108/0.002108, allocations: 61.97 kB / 0.6421 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1744, allocations: 89.18 MB / 0.7292 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00294/0.1774, allocations: 1.052 MB / 0.7302 GB, free: 216 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1794, allocations: 1.046 MB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.1796, allocations: 4 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.1798, allocations: 23.73 kB / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.1799, allocations: 15.81 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.1804, allocations: 79.84 kB / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.1807, allocations: 172 kB / 0.7315 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.1809, allocations: 68.66 kB / 0.7316 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1811, allocations: 71.72 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1813, allocations: 87.59 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.1813, allocations: 16 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.1814, allocations: 16 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.1815, allocations: 43.84 kB / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1816, allocations: 83.58 kB / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.1819, allocations: 183.1 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1819, allocations: 0 / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1819, allocations: 0 / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1819, allocations: 0 / 0.732 GB, free: 14.3 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009695/0.1829, allocations: 426.3 kB / 0.7325 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1829, allocations: 12.03 kB / 0.7325 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.447e-05/0.183, allocations: 8.188 kB / 0.7325 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.183, allocations: 54.67 kB / 0.7325 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.1832, allocations: 24.8 kB / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.1835, allocations: 175.5 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1836, allocations: 8.375 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.1836, allocations: 20.12 kB / 0.7327 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.184, allocations: 158.6 kB / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.184, allocations: 0 / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.184, allocations: 8 kB / 0.7329 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.184, allocations: 4 kB / 0.7329 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.1843, allocations: 104.5 kB / 0.733 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1855, allocations: 0.4953 MB / 0.7335 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.186, allocations: 138.6 kB / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.1862, allocations: 84.86 kB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1862, allocations: 0 / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003565/0.1866, allocations: 125.5 kB / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.1866, allocations: 0 / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0006483/0.1872, allocations: 225.4 kB / 0.734 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.1873, allocations: 55.41 kB / 0.7341 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1874, allocations: 155.1 kB / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.1875, allocations: 37.64 kB / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.1876, allocations: 116.5 kB / 0.7344 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.1876, allocations: 71.41 kB / 0.7345 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.1877, allocations: 45.7 kB / 0.7345 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.1879, allocations: 318.8 kB / 0.7348 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.1881, allocations: 71.95 kB / 0.7349 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.1883, allocations: 89.61 kB / 0.735 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.1887, allocations: 144.3 kB / 0.7351 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1887, allocations: 0 / 0.7351 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005474/0.1893, allocations: 213.5 kB / 0.7353 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1893, allocations: 8 kB / 0.7353 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1893, allocations: 3.984 kB / 0.7353 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1893, allocations: 0 / 0.7353 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.1895, allocations: 39.92 kB / 0.7353 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1896, allocations: 0 / 0.7353 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1897, allocations: 31.89 kB / 0.7354 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1897, allocations: 8 kB / 0.7354 GB, free: 10.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001405/0.1899, allocations: 129.7 kB / 0.7355 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1899, allocations: 19.84 kB / 0.7355 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.1904, allocations: 188.4 kB / 0.7357 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1904, allocations: 4 kB / 0.7357 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1904, allocations: 4 kB / 0.7357 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1904, allocations: 0 / 0.7357 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1915, allocations: 0.5569 MB / 0.7363 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1915, allocations: 4 kB / 0.7363 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.1917, allocations: 43.84 kB / 0.7363 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1917, allocations: 0 / 0.7363 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.1917, allocations: 8 kB / 0.7363 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1917, allocations: 4 kB / 0.7363 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1917, allocations: 4 kB / 0.7363 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/0.1924, allocations: 390.5 kB / 0.7367 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.1924, allocations: 23.84 kB / 0.7367 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.1925, allocations: 8 kB / 0.7367 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1926, allocations: 16.03 kB / 0.7367 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.1927, allocations: 27.89 kB / 0.7368 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1927, allocations: 7.938 kB / 0.7368 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001133/0.1928, allocations: 122.5 kB / 0.7369 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1928, allocations: 0 / 0.7369 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003035/0.1931, allocations: 35.95 kB / 0.7369 GB, free: 8.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001131/0.1943, allocations: 0.9219 MB / 0.7378 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.1947, allocations: 151.8 kB / 0.738 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1947, allocations: 4 kB / 0.738 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.195, allocations: 87.45 kB / 0.7381 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1953, allocations: 27.92 kB / 0.7381 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.1985, allocations: 2.118 MB / 0.7401 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.1989, allocations: 0.7243 MB / 0.7409 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.036e-05/0.199, allocations: 17.42 kB / 0.7409 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1991, allocations: 51.42 kB / 0.7409 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.1991, allocations: 0 / 0.7409 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.2263, allocations: 3.873 MB / 0.7447 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.69, allocations: 1.406 kB / 0.7447 GB, free: 0.9727 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.672532633994706] Failed to read output from testmodel.py, exit status != 0: 11.85363970004255 11.870617419 11.685335758999999 Calling exit ...