Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 109.3 kB / 15.7 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 196.1 kB / 16.63 MB, free: 6.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.3 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 62.28 kB / 0.9509 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3279, allocations: 140.4 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1798/0.5078, allocations: 149.1 MB / 1.234 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004591/0.5125, allocations: 3.61 MB / 1.237 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.5127, allocations: 0 / 1.237 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.5131, allocations: 63.62 kB / 1.237 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.5137, allocations: 135.2 kB / 1.237 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.5168, allocations: 1.009 MB / 1.238 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.5173, allocations: 327.6 kB / 1.239 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.5174, allocations: 17.55 kB / 1.239 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.5179, allocations: 191.2 kB / 1.239 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.5181, allocations: 127.5 kB / 1.239 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.5182, allocations: 12 kB / 1.239 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.5206, allocations: 1.22 MB / 1.24 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.5207, allocations: 71.84 kB / 1.24 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.5209, allocations: 107.5 kB / 1.24 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.5226, allocations: 0.6429 MB / 1.241 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.5226, allocations: 0 / 1.241 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5226, allocations: 0 / 1.241 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.5226, allocations: 0 / 1.241 GB, free: 4.195 MB / 0.9981 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.001415/0.524, allocations: 0.5889 MB / 1.242 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5241, allocations: 8.031 kB / 1.242 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.5254, allocations: 136.5 kB / 1.242 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.5258, allocations: 216.1 kB / 1.242 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.5258, allocations: 16.31 kB / 1.242 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.5258, allocations: 20 kB / 1.242 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.5265, allocations: 346 kB / 1.242 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5265, allocations: 0 / 1.242 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.5266, allocations: 8 kB / 1.242 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.5266, allocations: 12 kB / 1.242 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.5272, allocations: 328.1 kB / 1.243 GB, free: 2.434 MB / 0.9981 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.00184/0.5291, allocations: 1.105 MB / 1.244 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.5296, allocations: 194.5 kB / 1.244 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.5298, allocations: 80.72 kB / 1.244 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.5304, allocations: 461.4 kB / 1.244 GB, free: 424 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.5304, allocations: 38.56 kB / 1.244 GB, free: 376 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.5304, allocations: 0 / 1.244 GB, free: 376 kB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0007275/0.5312, allocations: 258.4 kB / 1.245 GB, free: 112 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.5312, allocations: 51.41 kB / 1.245 GB, free: 48 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.5315, allocations: 211 kB / 1.245 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.5316, allocations: 33.7 kB / 1.245 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.5317, allocations: 140.1 kB / 1.245 GB, free: 15.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.5317, allocations: 74.94 kB / 1.245 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.5319, allocations: 57.55 kB / 1.245 GB, free: 15.51 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.532, allocations: 330.8 kB / 1.245 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.5321, allocations: 80.16 kB / 1.246 GB, free: 15.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.5323, allocations: 152.8 kB / 1.246 GB, free: 14.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.5327, allocations: 250.1 kB / 1.246 GB, free: 14.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5327, allocations: 4 kB / 1.246 GB, free: 14.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005467/0.5332, allocations: 285.3 kB / 1.246 GB, free: 14.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5333, allocations: 9.875 kB / 1.246 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5333, allocations: 4 kB / 1.246 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.5333, allocations: 7.938 kB / 1.246 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.5336, allocations: 59.91 kB / 1.246 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.5336, allocations: 7.938 kB / 1.246 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.5339, allocations: 27.69 kB / 1.246 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.5339, allocations: 16 kB / 1.246 GB, free: 14.21 MB / 1.014 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.0001556/0.5341, allocations: 142.4 kB / 1.246 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.5342, allocations: 27.7 kB / 1.247 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.5347, allocations: 275.3 kB / 1.247 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5347, allocations: 11.92 kB / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5348, allocations: 0 / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5348, allocations: 0 / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/0.5356, allocations: 0.591 MB / 1.247 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5356, allocations: 4.062 kB / 1.247 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.5358, allocations: 31.97 kB / 1.247 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5358, allocations: 7.938 kB / 1.247 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5358, allocations: 4 kB / 1.247 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.5358, allocations: 4 kB / 1.247 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5359, allocations: 0 / 1.247 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.5364, allocations: 349.4 kB / 1.248 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.5365, allocations: 116.8 kB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.5366, allocations: 4 kB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.5368, allocations: 11.98 kB / 1.248 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.5369, allocations: 15.98 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.5369, allocations: 8 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001343/0.5371, allocations: 156.3 kB / 1.248 GB, free: 12.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5371, allocations: 0 / 1.248 GB, free: 12.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005512/0.5376, allocations: 127.8 kB / 1.248 GB, free: 12.24 MB / 1.014 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.0005231/0.5382, allocations: 215 kB / 1.248 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.5386, allocations: 214.4 kB / 1.249 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5386, allocations: 3.938 kB / 1.249 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.5388, allocations: 99.89 kB / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.5394, allocations: 100.3 kB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008393/0.5402, allocations: 453.5 kB / 1.249 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.5406, allocations: 0.7367 MB / 1.25 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.5408, allocations: 54.25 kB / 1.25 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.5409, allocations: 27.42 kB / 1.25 GB, free: 10.3 MB / 1.014 GB Notification: Performance of SimCode: time 1.533e-06/0.5409, allocations: 3.938 kB / 1.25 GB, free: 10.29 MB / 1.014 GB Notification: Performance of Templates: time 0.01063/0.5515, allocations: 5.491 MB / 1.255 GB, free: 4.879 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & ./Buildings_9_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches