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.001788/0.001788, allocations: 88.72 kB / 19.44 MB, free: 356 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.001553/0.001553, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.289/3.289, allocations: 429.6 MB / 0.673 GB, free: 3.887 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 1.954e-06/1.954e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.442e-05, allocations: 3.438 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2117/0.2117, allocations: 131.1 MB / 1.006 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005712/0.2174, allocations: 3.298 MB / 1.009 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.2176, allocations: 0 / 1.009 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.2181, allocations: 55.66 kB / 1.009 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.2185, allocations: 147 kB / 1.009 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.2217, allocations: 1.084 MB / 1.01 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.2223, allocations: 331.5 kB / 1.01 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.2223, allocations: 9.812 kB / 1.01 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.2229, allocations: 251.1 kB / 1.011 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.2232, allocations: 123.6 kB / 1.011 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.2232, allocations: 12 kB / 1.011 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.2254, allocations: 1.067 MB / 1.012 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.2256, allocations: 79.78 kB / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2257, allocations: 79.83 kB / 1.012 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.2273, allocations: 0.6699 MB / 1.013 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2273, allocations: 4 kB / 1.013 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2273, allocations: 0 / 1.013 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2273, allocations: 0 / 1.013 GB, free: 11.7 MB / 0.9792 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.001483/0.2288, allocations: 0.5321 MB / 1.013 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2289, allocations: 8.031 kB / 1.013 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.2303, allocations: 244.1 kB / 1.013 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.2307, allocations: 165.4 kB / 1.014 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2307, allocations: 12.75 kB / 1.014 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.2307, allocations: 24.38 kB / 1.014 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009958/0.2317, allocations: 0.5895 MB / 1.014 GB, free: 9.992 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2318, allocations: 4 kB / 1.014 GB, free: 9.988 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.2318, allocations: 4 kB / 1.014 GB, free: 9.984 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.2318, allocations: 12 kB / 1.014 GB, free: 9.973 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.2325, allocations: 320.2 kB / 1.014 GB, free: 9.66 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.2343, allocations: 0.9036 MB / 1.015 GB, free: 8.711 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.2348, allocations: 182.4 kB / 1.016 GB, free: 8.523 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.235, allocations: 76.81 kB / 1.016 GB, free: 8.445 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/0.2354, allocations: 71.94 kB / 1.016 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.2354, allocations: 46.48 kB / 1.016 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.2354, allocations: 0 / 1.016 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of matching and sorting (n=21): time 0.0007842/0.2362, allocations: 271.5 kB / 1.016 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2362, allocations: 59.41 kB / 1.016 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.2364, allocations: 167.4 kB / 1.016 GB, free: 7.809 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.2365, allocations: 33.7 kB / 1.016 GB, free: 7.77 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2366, allocations: 152.2 kB / 1.016 GB, free: 7.617 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/0.2367, allocations: 83.3 kB / 1.016 GB, free: 7.535 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2368, allocations: 49.7 kB / 1.017 GB, free: 7.48 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.237, allocations: 322.8 kB / 1.017 GB, free: 7.156 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.2372, allocations: 76.22 kB / 1.017 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.2374, allocations: 167.5 kB / 1.017 GB, free: 6.875 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.2378, allocations: 245.3 kB / 1.017 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2378, allocations: 0 / 1.017 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006461/0.2385, allocations: 301.1 kB / 1.018 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2385, allocations: 8 kB / 1.018 GB, free: 6.289 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2385, allocations: 4 kB / 1.018 GB, free: 6.285 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.2385, allocations: 4 kB / 1.018 GB, free: 6.281 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.2388, allocations: 55.91 kB / 1.018 GB, free: 6.227 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.2388, allocations: 12.25 kB / 1.018 GB, free: 6.215 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.239, allocations: 31.78 kB / 1.018 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.2391, allocations: 15.98 kB / 1.018 GB, free: 6.168 MB / 0.9792 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.0001608/0.2392, allocations: 137.8 kB / 1.018 GB, free: 6.023 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.2394, allocations: 35.83 kB / 1.018 GB, free: 5.988 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005575/0.2399, allocations: 267.8 kB / 1.018 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.24, allocations: 3.984 kB / 1.018 GB, free: 5.719 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.24, allocations: 4 kB / 1.018 GB, free: 5.715 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.24, allocations: 3.938 kB / 1.018 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.2408, allocations: 0.5218 MB / 1.019 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2408, allocations: 4.062 kB / 1.019 GB, free: 5.145 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.241, allocations: 27.98 kB / 1.019 GB, free: 5.117 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.241, allocations: 0 / 1.019 GB, free: 5.117 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.241, allocations: 15.94 kB / 1.019 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.241, allocations: 0 / 1.019 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.241, allocations: 0 / 1.019 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.2417, allocations: 369.5 kB / 1.019 GB, free: 4.719 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2418, allocations: 39.8 kB / 1.019 GB, free: 4.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.2418, allocations: 7.938 kB / 1.019 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.2421, allocations: 12.52 kB / 1.019 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.2421, allocations: 15.97 kB / 1.019 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.2422, allocations: 12 kB / 1.019 GB, free: 4.633 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001165/0.2423, allocations: 121.5 kB / 1.019 GB, free: 4.516 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.2423, allocations: 0 / 1.019 GB, free: 4.516 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005611/0.2428, allocations: 127.8 kB / 1.019 GB, free: 4.391 MB / 0.9792 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.0005208/0.2434, allocations: 238.7 kB / 1.02 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.2438, allocations: 196.4 kB / 1.02 GB, free: 3.953 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.2438, allocations: 4 kB / 1.02 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.244, allocations: 91.88 kB / 1.02 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.2447, allocations: 95.5 kB / 1.02 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.2456, allocations: 434.1 kB / 1.02 GB, free: 3.316 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.2457, allocations: 128.4 kB / 1.021 GB, free: 3.172 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000239/0.246, allocations: 53.59 kB / 1.021 GB, free: 3.121 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.2461, allocations: 28.5 kB / 1.021 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of SimCode: time 4.51e-07/0.2461, allocations: 0 / 1.021 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of Templates: time 0.01203/0.2581, allocations: 5.142 MB / 1.026 GB, free: 14.07 MB / 0.9948 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 800] 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: 8.708217913052067]