Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.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.002431/0.002431, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002842/0.002842, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.629/1.629, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.502e-06, allocations: 4 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.602e-05, allocations: 6.797 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2567/0.2567, allocations: 144.7 MB / 1.019 GB, free: 5.457 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005826/0.2626, allocations: 3.758 MB / 1.022 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2627, allocations: 4 kB / 1.022 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.2631, allocations: 59.64 kB / 1.022 GB, free: 1.625 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.2634, allocations: 139 kB / 1.023 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.2664, allocations: 1.089 MB / 1.024 GB, free: 404 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.2669, allocations: 327.5 kB / 1.024 GB, free: 76 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.2669, allocations: 13.8 kB / 1.024 GB, free: 60 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.2675, allocations: 247.2 kB / 1.024 GB, free: 15.81 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.2677, allocations: 115.6 kB / 1.024 GB, free: 15.7 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.2677, allocations: 12 kB / 1.024 GB, free: 15.69 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.2698, allocations: 1.071 MB / 1.025 GB, free: 14.61 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2699, allocations: 75.8 kB / 1.025 GB, free: 14.54 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.2701, allocations: 91.75 kB / 1.026 GB, free: 14.45 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.2714, allocations: 0.666 MB / 1.026 GB, free: 13.78 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2714, allocations: 4 kB / 1.026 GB, free: 13.78 MB / 0.9949 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2714, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2714, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.9949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001328/0.2727, allocations: 0.6278 MB / 1.027 GB, free: 13.11 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2728, allocations: 12.03 kB / 1.027 GB, free: 13.1 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.2741, allocations: 232.1 kB / 1.027 GB, free: 12.88 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.2745, allocations: 172.3 kB / 1.027 GB, free: 12.68 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.2746, allocations: 8.75 kB / 1.027 GB, free: 12.67 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.2746, allocations: 32.3 kB / 1.027 GB, free: 12.64 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.2754, allocations: 0.5096 MB / 1.028 GB, free: 12.04 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2754, allocations: 4 kB / 1.028 GB, free: 12.04 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.2754, allocations: 4 kB / 1.028 GB, free: 12.04 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.2755, allocations: 19.98 kB / 1.028 GB, free: 12.02 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.2763, allocations: 220.2 kB / 1.028 GB, free: 11.8 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.2781, allocations: 1.097 MB / 1.029 GB, free: 10.65 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.2786, allocations: 143 kB / 1.029 GB, free: 10.5 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2787, allocations: 59.67 kB / 1.029 GB, free: 10.43 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/0.2792, allocations: 79.86 kB / 1.029 GB, free: 10.36 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.2792, allocations: 41.39 kB / 1.029 GB, free: 10.3 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.2792, allocations: 0 / 1.029 GB, free: 10.3 MB / 0.9949 GB Notification: Performance of matching and sorting (n=21): time 0.0006766/0.2799, allocations: 209.9 kB / 1.03 GB, free: 10.1 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.2799, allocations: 51.41 kB / 1.03 GB, free: 10.04 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2802, allocations: 223.7 kB / 1.03 GB, free: 9.801 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.2802, allocations: 33.7 kB / 1.03 GB, free: 9.762 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.2804, allocations: 202.9 kB / 1.03 GB, free: 9.559 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.2805, allocations: 79.31 kB / 1.03 GB, free: 9.48 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.2806, allocations: 59.31 kB / 1.03 GB, free: 9.414 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0002958/0.2809, allocations: 0.5001 MB / 1.031 GB, free: 8.902 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.281, allocations: 44.19 kB / 1.031 GB, free: 8.855 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.2812, allocations: 172.5 kB / 1.031 GB, free: 8.633 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.2816, allocations: 232.5 kB / 1.031 GB, free: 8.352 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2816, allocations: 0 / 1.031 GB, free: 8.352 MB / 0.9949 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005591/0.2822, allocations: 242.9 kB / 1.031 GB, free: 8.109 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2822, allocations: 8 kB / 1.031 GB, free: 8.102 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2822, allocations: 4 kB / 1.031 GB, free: 8.098 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2822, allocations: 7.938 kB / 1.031 GB, free: 8.09 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.2825, allocations: 51.91 kB / 1.031 GB, free: 8.039 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.2825, allocations: 7.938 kB / 1.031 GB, free: 8.031 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.2827, allocations: 28.16 kB / 1.031 GB, free: 8.004 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.2827, allocations: 24 kB / 1.031 GB, free: 7.98 MB / 0.9949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001721/0.2829, allocations: 172.5 kB / 1.032 GB, free: 7.801 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.2831, allocations: 35.83 kB / 1.032 GB, free: 7.766 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.2836, allocations: 203.2 kB / 1.032 GB, free: 7.562 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.2836, allocations: 4 kB / 1.032 GB, free: 7.559 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2836, allocations: 3.938 kB / 1.032 GB, free: 7.555 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.2836, allocations: 7.922 kB / 1.032 GB, free: 7.547 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008/0.2844, allocations: 0.4916 MB / 1.032 GB, free: 7.008 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2844, allocations: 4 kB / 1.032 GB, free: 7.004 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.2846, allocations: 32.05 kB / 1.032 GB, free: 6.973 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.2846, allocations: 4 kB / 1.032 GB, free: 6.969 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.2846, allocations: 3.938 kB / 1.032 GB, free: 6.965 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2846, allocations: 4 kB / 1.032 GB, free: 6.961 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2846, allocations: 0 / 1.032 GB, free: 6.961 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.2852, allocations: 362.9 kB / 1.033 GB, free: 6.578 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2854, allocations: 39.81 kB / 1.033 GB, free: 6.539 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.2854, allocations: 3.938 kB / 1.033 GB, free: 6.535 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.2856, allocations: 18.05 kB / 1.033 GB, free: 6.52 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.2857, allocations: 11.98 kB / 1.033 GB, free: 6.508 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.2857, allocations: 15.98 kB / 1.033 GB, free: 6.492 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.0001317/0.2858, allocations: 156.8 kB / 1.033 GB, free: 6.34 MB / 0.9949 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2858, allocations: 4 kB / 1.033 GB, free: 6.336 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.0005787/0.2864, allocations: 127.8 kB / 1.033 GB, free: 6.211 MB / 0.9949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005133/0.2869, allocations: 226.9 kB / 1.033 GB, free: 5.977 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.2873, allocations: 159.3 kB / 1.033 GB, free: 5.82 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.2873, allocations: 7.938 kB / 1.034 GB, free: 5.812 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2874, allocations: 71.59 kB / 1.034 GB, free: 5.738 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.2881, allocations: 105.1 kB / 1.034 GB, free: 5.637 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.289, allocations: 416.8 kB / 1.034 GB, free: 5.199 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.2892, allocations: 124.4 kB / 1.034 GB, free: 5.059 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.2894, allocations: 45.59 kB / 1.034 GB, free: 5.016 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.2895, allocations: 20.5 kB / 1.034 GB, free: 4.996 MB / 0.9949 GB Notification: Performance of SimCode: time 4.21e-07/0.2895, allocations: 0 / 1.034 GB, free: 4.996 MB / 0.9949 GB Notification: Performance of Templates: time 0.01206/0.3015, allocations: 5.15 MB / 1.039 GB, free: 15.95 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.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.285035358043388]