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.001345/0.001345, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001619/0.001619, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.32/3.32, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings 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.002171/0.002171, allocations: 63.75 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4298, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002655/0.4325, allocations: 1.332 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.628, allocations: 130 MB / 1.455 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.628, allocations: 0 / 1.455 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 6e-05/0.6281, allocations: 7.922 kB / 1.455 GB, free: 13.1 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.6282, allocations: 11.92 kB / 1.455 GB, free: 13.09 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.6294, allocations: 330.6 kB / 1.456 GB, free: 12.76 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.6295, allocations: 67.77 kB / 1.456 GB, free: 12.7 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.6296, allocations: 0 / 1.456 GB, free: 12.7 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.6296, allocations: 27.92 kB / 1.456 GB, free: 12.67 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.6297, allocations: 35.89 kB / 1.456 GB, free: 12.63 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.6298, allocations: 4 kB / 1.456 GB, free: 12.63 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.6306, allocations: 378.7 kB / 1.456 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.6306, allocations: 15.97 kB / 1.456 GB, free: 12.24 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.6307, allocations: 31.84 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.631, allocations: 155.5 kB / 1.456 GB, free: 12.06 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.631, allocations: 0 / 1.456 GB, free: 12.06 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.803e-06/0.631, allocations: 0 / 1.456 GB, free: 12.06 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.631, allocations: 0 / 1.456 GB, free: 12.06 MB / 1.154 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.000578/0.6316, allocations: 317.9 kB / 1.457 GB, free: 11.72 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.6317, allocations: 8.031 kB / 1.457 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/0.6321, allocations: 40.84 kB / 1.457 GB, free: 11.67 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.6322, allocations: 106.5 kB / 1.457 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.6322, allocations: 7.938 kB / 1.457 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.6323, allocations: 12 kB / 1.457 GB, free: 11.52 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.6326, allocations: 210.1 kB / 1.457 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6326, allocations: 0 / 1.457 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.6326, allocations: 0 / 1.457 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.6326, allocations: 4 kB / 1.457 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.6327, allocations: 47.95 kB / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.6329, allocations: 133.2 kB / 1.457 GB, free: 11.07 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.6331, allocations: 90.53 kB / 1.457 GB, free: 10.97 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.6332, allocations: 28.94 kB / 1.457 GB, free: 10.94 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.6334, allocations: 27.97 kB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.6334, allocations: 34.56 kB / 1.457 GB, free: 10.87 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.472e-06/0.6334, allocations: 4 kB / 1.457 GB, free: 10.87 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001423/0.6348, allocations: 479.3 kB / 1.458 GB, free: 10.37 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.6349, allocations: 55.34 kB / 1.458 GB, free: 10.3 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.635, allocations: 101.8 kB / 1.458 GB, free: 10.19 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.635, allocations: 29.7 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.635, allocations: 88.64 kB / 1.458 GB, free: 10.07 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.6351, allocations: 67.39 kB / 1.458 GB, free: 10 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.6352, allocations: 41.7 kB / 1.458 GB, free: 9.953 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6354, allocations: 330.7 kB / 1.459 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.6354, allocations: 31.98 kB / 1.459 GB, free: 9.59 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.6355, allocations: 69.84 kB / 1.459 GB, free: 9.512 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.6357, allocations: 119.3 kB / 1.459 GB, free: 9.383 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6357, allocations: 0 / 1.459 GB, free: 9.383 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002561/0.636, allocations: 157.5 kB / 1.459 GB, free: 9.223 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.636, allocations: 4 kB / 1.459 GB, free: 9.219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.636, allocations: 7.984 kB / 1.459 GB, free: 9.211 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.636, allocations: 4 kB / 1.459 GB, free: 9.207 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.6362, allocations: 39.92 kB / 1.459 GB, free: 9.168 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.6362, allocations: 0 / 1.459 GB, free: 9.168 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.6363, allocations: 8 kB / 1.459 GB, free: 9.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.6363, allocations: 7.938 kB / 1.459 GB, free: 9.152 MB / 1.154 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.0001235/0.6364, allocations: 126.3 kB / 1.459 GB, free: 9.02 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.6364, allocations: 7.953 kB / 1.459 GB, free: 9.012 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.6365, allocations: 20.45 kB / 1.459 GB, free: 8.988 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6365, allocations: 0 / 1.459 GB, free: 8.988 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6365, allocations: 4 kB / 1.459 GB, free: 8.984 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6365, allocations: 7.984 kB / 1.459 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.6366, allocations: 133.2 kB / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6367, allocations: 0 / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.6369, allocations: 43.86 kB / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6369, allocations: 0 / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.6369, allocations: 4 kB / 1.459 GB, free: 8.77 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6369, allocations: 4 kB / 1.459 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6369, allocations: 0 / 1.459 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.6372, allocations: 208.9 kB / 1.459 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.6373, allocations: 11.95 kB / 1.46 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.6373, allocations: 8.047 kB / 1.46 GB, free: 8.523 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6374, allocations: 8 kB / 1.46 GB, free: 8.516 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.6374, allocations: 11.98 kB / 1.46 GB, free: 8.504 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.6375, allocations: 7.984 kB / 1.46 GB, free: 8.496 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.6375, allocations: 79.28 kB / 1.46 GB, free: 8.418 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6375, allocations: 0 / 1.46 GB, free: 8.418 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000226/0.6377, allocations: 28 kB / 1.46 GB, free: 8.391 MB / 1.154 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.0001605/0.6379, allocations: 111.1 kB / 1.46 GB, free: 8.27 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.6381, allocations: 105.3 kB / 1.46 GB, free: 8.168 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6381, allocations: 0 / 1.46 GB, free: 8.168 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.6382, allocations: 51.91 kB / 1.46 GB, free: 8.117 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.6385, allocations: 24.06 kB / 1.46 GB, free: 8.094 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/0.6394, allocations: 0.5106 MB / 1.46 GB, free: 7.559 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.6395, allocations: 92 kB / 1.461 GB, free: 7.449 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.6396, allocations: 20.62 kB / 1.461 GB, free: 7.43 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.6397, allocations: 15.44 kB / 1.461 GB, free: 7.414 MB / 1.154 GB Notification: Performance of SimCode: time 4.81e-07/0.6397, allocations: 0 / 1.461 GB, free: 7.414 MB / 1.154 GB Notification: Performance of Templates: time 0.004503/0.6442, allocations: 1.18 MB / 1.462 GB, free: 6.254 MB / 1.154 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/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: 9.551434908993542]