Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.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.001753/0.001753, allocations: 78.72 kB / 19.18 MB, free: 2.527 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.002045/0.002045, allocations: 166.4 kB / 22.46 MB, free: 5.363 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.453/1.453, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.754/2.754, allocations: 359 MB / 0.6037 GB, free: 15.03 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.6e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003079/0.003115, allocations: 1.339 MB / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1913/0.1944, allocations: 130.1 MB / 1.079 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.1945, allocations: 0 / 1.079 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.453e-05/0.1945, allocations: 7.922 kB / 1.079 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1946, allocations: 7.922 kB / 1.079 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1963, allocations: 334.3 kB / 1.08 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1964, allocations: 71.69 kB / 1.08 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.1965, allocations: 4 kB / 1.08 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1966, allocations: 39.94 kB / 1.08 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1968, allocations: 31.89 kB / 1.08 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1968, allocations: 4 kB / 1.08 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.1981, allocations: 382.5 kB / 1.08 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.1982, allocations: 15.92 kB / 1.08 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.1982, allocations: 27.91 kB / 1.08 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.1988, allocations: 167.5 kB / 1.08 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1988, allocations: 0 / 1.08 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1988, allocations: 0 / 1.08 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1988, allocations: 0 / 1.08 GB, free: 6.648 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005447/0.1993, allocations: 318 kB / 1.081 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1994, allocations: 11.97 kB / 1.081 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.1998, allocations: 36.86 kB / 1.081 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2, allocations: 113.7 kB / 1.081 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2, allocations: 8.375 kB / 1.081 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.2, allocations: 8.375 kB / 1.081 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.2003, allocations: 210 kB / 1.081 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2003, allocations: 0 / 1.081 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.2003, allocations: 4 kB / 1.081 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.2003, allocations: 3.984 kB / 1.081 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2004, allocations: 39.97 kB / 1.081 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.2006, allocations: 129.2 kB / 1.081 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.2009, allocations: 90.62 kB / 1.081 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.2009, allocations: 28.84 kB / 1.081 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.2011, allocations: 20.31 kB / 1.081 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.2011, allocations: 42.44 kB / 1.081 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2011, allocations: 0 / 1.081 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001431/0.2026, allocations: 495.2 kB / 1.082 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.2026, allocations: 55.41 kB / 1.082 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.2027, allocations: 93.86 kB / 1.082 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2027, allocations: 29.7 kB / 1.082 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.2028, allocations: 80.52 kB / 1.082 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.2028, allocations: 75.38 kB / 1.082 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.2029, allocations: 45.64 kB / 1.082 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2031, allocations: 326.9 kB / 1.082 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.2031, allocations: 35.97 kB / 1.083 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2032, allocations: 71.41 kB / 1.083 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2034, allocations: 119.3 kB / 1.083 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2034, allocations: 0 / 1.083 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002592/0.2037, allocations: 153.5 kB / 1.083 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2037, allocations: 4 kB / 1.083 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2037, allocations: 3.984 kB / 1.083 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2037, allocations: 4 kB / 1.083 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2039, allocations: 43.92 kB / 1.083 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2039, allocations: 0 / 1.083 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.204, allocations: 12 kB / 1.083 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.204, allocations: 4 kB / 1.083 GB, free: 3.734 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001272/0.2041, allocations: 133.6 kB / 1.083 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.2041, allocations: 7.953 kB / 1.083 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.2042, allocations: 20.47 kB / 1.083 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2042, allocations: 0 / 1.083 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2042, allocations: 0 / 1.083 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2042, allocations: 0 / 1.083 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2044, allocations: 133.2 kB / 1.083 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2044, allocations: 0 / 1.083 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2046, allocations: 39.98 kB / 1.083 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2046, allocations: 4 kB / 1.083 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2046, allocations: 0 / 1.083 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2046, allocations: 0 / 1.083 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2046, allocations: 128 / 1.083 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.205, allocations: 224.7 kB / 1.083 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.205, allocations: 11.94 kB / 1.083 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.205, allocations: 12 kB / 1.083 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2052, allocations: 4 kB / 1.083 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.2052, allocations: 15.97 kB / 1.083 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2052, allocations: 4 kB / 1.083 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.948e-05/0.2053, allocations: 83.28 kB / 1.084 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2053, allocations: 0 / 1.084 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002395/0.2055, allocations: 28 kB / 1.084 GB, free: 2.969 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0001597/0.2057, allocations: 111.1 kB / 1.084 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.2059, allocations: 110.1 kB / 1.084 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2059, allocations: 0 / 1.084 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.206, allocations: 47.92 kB / 1.084 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.2063, allocations: 20.02 kB / 1.084 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007874/0.2071, allocations: 405.6 kB / 1.084 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.903e-05/0.2072, allocations: 88.06 kB / 1.084 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.2073, allocations: 16.64 kB / 1.084 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.2073, allocations: 20.48 kB / 1.084 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.2073, allocations: 0 / 1.084 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of Templates: time 0.004452/0.2118, allocations: 1.082 MB / 1.085 GB, free: 1.059 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.36157402023673]