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.001616/0.001616, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001851/0.001851, allocations: 161.3 kB / 23.54 MB, free: 0.8672 MB / 18.57 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.921/2.921, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.553e-06/1.553e-06, allocations: 0 / 0.7863 GB, free: 11.74 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.799e-05, allocations: 3.297 kB / 0.7863 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00301/0.003038, allocations: 1.334 MB / 0.7876 GB, free: 10.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1999/0.2029, allocations: 130.1 MB / 0.9147 GB, free: 7.902 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.203, allocations: 0 / 0.9147 GB, free: 7.902 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.197e-05/0.2031, allocations: 3.938 kB / 0.9147 GB, free: 7.898 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2032, allocations: 15.92 kB / 0.9147 GB, free: 7.883 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2046, allocations: 342.2 kB / 0.915 GB, free: 7.547 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.2047, allocations: 67.75 kB / 0.9151 GB, free: 7.48 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.2048, allocations: 0 / 0.9151 GB, free: 7.48 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.2049, allocations: 43.89 kB / 0.9151 GB, free: 7.438 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.205, allocations: 31.94 kB / 0.9151 GB, free: 7.406 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.205, allocations: 4 kB / 0.9151 GB, free: 7.402 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009826/0.206, allocations: 382.5 kB / 0.9155 GB, free: 7.027 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.2061, allocations: 15.97 kB / 0.9155 GB, free: 7.012 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.2061, allocations: 19.98 kB / 0.9155 GB, free: 6.992 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.2067, allocations: 167.5 kB / 0.9157 GB, free: 6.828 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2067, allocations: 0 / 0.9157 GB, free: 6.828 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2067, allocations: 0 / 0.9157 GB, free: 6.828 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2067, allocations: 4 kB / 0.9157 GB, free: 6.824 MB / 0.823 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.0006373/0.2073, allocations: 317.9 kB / 0.916 GB, free: 6.484 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2074, allocations: 8.031 kB / 0.916 GB, free: 6.477 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/0.2079, allocations: 64.58 kB / 0.9161 GB, free: 6.414 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.208, allocations: 109.8 kB / 0.9162 GB, free: 6.281 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.208, allocations: 384 / 0.9162 GB, free: 6.281 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.2081, allocations: 16.36 kB / 0.9162 GB, free: 6.266 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2084, allocations: 210 kB / 0.9164 GB, free: 6.023 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2084, allocations: 4 kB / 0.9164 GB, free: 6.02 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.2084, allocations: 4 kB / 0.9164 GB, free: 6.016 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2084, allocations: 0 / 0.9164 GB, free: 6.016 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.2086, allocations: 43.95 kB / 0.9164 GB, free: 5.973 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.2088, allocations: 133.2 kB / 0.9166 GB, free: 5.812 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.209, allocations: 82.62 kB / 0.9167 GB, free: 5.723 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.2091, allocations: 32.84 kB / 0.9167 GB, free: 5.688 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.2093, allocations: 23.98 kB / 0.9167 GB, free: 5.664 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.2093, allocations: 46.5 kB / 0.9168 GB, free: 5.609 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.2093, allocations: 4 kB / 0.9168 GB, free: 5.605 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.001548/0.2109, allocations: 495.9 kB / 0.9172 GB, free: 5.09 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.2109, allocations: 51.41 kB / 0.9173 GB, free: 5.027 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2111, allocations: 93.86 kB / 0.9174 GB, free: 4.926 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2111, allocations: 33.83 kB / 0.9174 GB, free: 4.887 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.2111, allocations: 84.52 kB / 0.9175 GB, free: 4.801 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/0.2112, allocations: 79.36 kB / 0.9176 GB, free: 4.723 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.2113, allocations: 33.72 kB / 0.9176 GB, free: 4.684 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2115, allocations: 326.8 kB / 0.9179 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.2116, allocations: 31.98 kB / 0.9179 GB, free: 4.324 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2117, allocations: 69.64 kB / 0.918 GB, free: 4.246 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.2119, allocations: 119.3 kB / 0.9181 GB, free: 4.117 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2119, allocations: 0 / 0.9181 GB, free: 4.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003053/0.2122, allocations: 165.5 kB / 0.9183 GB, free: 3.949 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2122, allocations: 4 kB / 0.9183 GB, free: 3.945 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2122, allocations: 8 kB / 0.9183 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.2122, allocations: 0 / 0.9183 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.2124, allocations: 39.92 kB / 0.9183 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2124, allocations: 4 kB / 0.9183 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.2125, allocations: 4 kB / 0.9183 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2125, allocations: 8 kB / 0.9183 GB, free: 3.883 MB / 0.823 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.0001194/0.2126, allocations: 121.8 kB / 0.9185 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.2127, allocations: 15.95 kB / 0.9185 GB, free: 3.738 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.2127, allocations: 20.45 kB / 0.9185 GB, free: 3.719 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2127, allocations: 7.938 kB / 0.9185 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2127, allocations: 7.938 kB / 0.9185 GB, free: 3.703 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2127, allocations: 0 / 0.9185 GB, free: 3.703 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.2129, allocations: 137.4 kB / 0.9186 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2129, allocations: 0 / 0.9186 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.2131, allocations: 35.98 kB / 0.9187 GB, free: 3.504 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2131, allocations: 0 / 0.9187 GB, free: 3.504 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2132, allocations: 4 kB / 0.9187 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.2132, allocations: 4 kB / 0.9187 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2132, allocations: 0 / 0.9187 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.2136, allocations: 216.8 kB / 0.9189 GB, free: 3.266 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.2136, allocations: 15.94 kB / 0.9189 GB, free: 3.25 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.2137, allocations: 8.062 kB / 0.9189 GB, free: 3.242 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2138, allocations: 4 kB / 0.9189 GB, free: 3.238 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.2138, allocations: 15.97 kB / 0.9189 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.2138, allocations: 4 kB / 0.9189 GB, free: 3.219 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.837e-05/0.2139, allocations: 79.28 kB / 0.919 GB, free: 3.141 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2139, allocations: 0 / 0.919 GB, free: 3.141 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002537/0.2141, allocations: 32 kB / 0.919 GB, free: 3.109 MB / 0.823 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.0001815/0.2143, allocations: 107.3 kB / 0.9191 GB, free: 2.996 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.2146, allocations: 103.8 kB / 0.9192 GB, free: 2.895 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2146, allocations: 0 / 0.9192 GB, free: 2.895 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.2147, allocations: 53.97 kB / 0.9193 GB, free: 2.844 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.2151, allocations: 36.36 kB / 0.9193 GB, free: 2.809 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009102/0.216, allocations: 424.9 kB / 0.9197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.586e-05/0.2161, allocations: 80.06 kB / 0.9198 GB, free: 2.266 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000127/0.2162, allocations: 24.64 kB / 0.9198 GB, free: 2.242 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.2163, allocations: 16.5 kB / 0.9198 GB, free: 2.223 MB / 0.823 GB Notification: Performance of SimCode: time 8.21e-07/0.2163, allocations: 0 / 0.9198 GB, free: 2.223 MB / 0.823 GB Notification: Performance of Templates: time 0.005613/0.2219, allocations: 1.427 MB / 0.9212 GB, free: 0.8398 MB / 0.823 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.042908726027235]