Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002497/0.002497, allocations: 83.69 kB / 20.24 MB, free: 4.188 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.002775/0.002775, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.615/1.615, allocations: 177.1 MB / 203.9 MB, free: 5.328 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.199/3.199, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8108 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.365e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002574/0.002607, allocations: 1.355 MB / 0.8121 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2076/0.2102, allocations: 143.7 MB / 0.9524 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.2102, allocations: 0 / 0.9524 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.2103, allocations: 3.938 kB / 0.9524 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2104, allocations: 19.84 kB / 0.9524 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2114, allocations: 334.3 kB / 0.9527 GB, free: 336 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2116, allocations: 67.75 kB / 0.9528 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.2116, allocations: 4 kB / 0.9528 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.2117, allocations: 39.89 kB / 0.9528 GB, free: 224 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2118, allocations: 27.95 kB / 0.9528 GB, free: 196 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2118, allocations: 0 / 0.9528 GB, free: 196 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.2126, allocations: 386.5 kB / 0.9532 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.2127, allocations: 15.97 kB / 0.9532 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.2127, allocations: 31.91 kB / 0.9533 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.2131, allocations: 167.5 kB / 0.9534 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2131, allocations: 0 / 0.9534 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2131, allocations: 0 / 0.9534 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2131, allocations: 0 / 0.9534 GB, free: 15.6 MB / 0.9167 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.0005762/0.2137, allocations: 411.9 kB / 0.9538 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.2137, allocations: 12.02 kB / 0.9538 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004441/0.2142, allocations: 60.61 kB / 0.9539 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2143, allocations: 112.6 kB / 0.954 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2143, allocations: 12.38 kB / 0.954 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.2143, allocations: 12.36 kB / 0.954 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.2146, allocations: 202.1 kB / 0.9542 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2146, allocations: 3.938 kB / 0.9542 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.2146, allocations: 4 kB / 0.9542 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2146, allocations: 4 kB / 0.9542 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.2147, allocations: 35.95 kB / 0.9542 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.2151, allocations: 132.5 kB / 0.9544 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.2154, allocations: 99.08 kB / 0.9545 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.2154, allocations: 23.69 kB / 0.9545 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.2156, allocations: 31.97 kB / 0.9545 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.2157, allocations: 41.33 kB / 0.9546 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.2157, allocations: 0 / 0.9546 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.001375/0.217, allocations: 462.6 kB / 0.955 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.2171, allocations: 59.39 kB / 0.9551 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2172, allocations: 153.9 kB / 0.9552 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2172, allocations: 33.7 kB / 0.9552 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.2173, allocations: 127.2 kB / 0.9554 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.2174, allocations: 67.39 kB / 0.9554 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.2175, allocations: 51.36 kB / 0.9555 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002888/0.2178, allocations: 0.4961 MB / 0.956 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.2178, allocations: 27.98 kB / 0.956 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2179, allocations: 79.88 kB / 0.9561 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.2181, allocations: 130.8 kB / 0.9562 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2181, allocations: 0 / 0.9562 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002584/0.2184, allocations: 149.6 kB / 0.9563 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2184, allocations: 8 kB / 0.9563 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2184, allocations: 3.938 kB / 0.9563 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2184, allocations: 4 kB / 0.9563 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2186, allocations: 35.92 kB / 0.9564 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2186, allocations: 4 kB / 0.9564 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.2187, allocations: 4 kB / 0.9564 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2187, allocations: 8 kB / 0.9564 GB, free: 12.26 MB / 0.9167 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.0001408/0.2189, allocations: 180.4 kB / 0.9566 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.2189, allocations: 11.95 kB / 0.9566 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/0.2189, allocations: 20.45 kB / 0.9566 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.219, allocations: 4 kB / 0.9566 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.219, allocations: 0 / 0.9566 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.219, allocations: 0 / 0.9566 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.2191, allocations: 148.5 kB / 0.9567 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2191, allocations: 0 / 0.9567 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.2193, allocations: 31.98 kB / 0.9568 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.2193, allocations: 4 kB / 0.9568 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2194, allocations: 4 kB / 0.9568 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2194, allocations: 4 kB / 0.9568 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2194, allocations: 0 / 0.9568 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.2197, allocations: 215.3 kB / 0.957 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.2198, allocations: 11.94 kB / 0.957 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.2198, allocations: 8 kB / 0.957 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2199, allocations: 7.984 kB / 0.957 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.2199, allocations: 7.984 kB / 0.957 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.22, allocations: 8 kB / 0.957 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.22, allocations: 127.2 kB / 0.9572 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.22, allocations: 4.094 kB / 0.9572 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002199/0.2202, allocations: 28 kB / 0.9572 GB, free: 11.38 MB / 0.9167 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.0001663/0.2204, allocations: 111.2 kB / 0.9573 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2206, allocations: 103.5 kB / 0.9574 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2206, allocations: 0 / 0.9574 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.2207, allocations: 62.34 kB / 0.9574 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.221, allocations: 52.27 kB / 0.9575 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.2218, allocations: 410.2 kB / 0.9579 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.742e-05/0.2219, allocations: 84.06 kB / 0.958 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.222, allocations: 24.61 kB / 0.958 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.2221, allocations: 20.44 kB / 0.958 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.2221, allocations: 4 kB / 0.958 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of Templates: time 0.005204/0.2273, allocations: 1.424 MB / 0.9594 GB, free: 9.094 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.74277653300669]