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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 152 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.001748/0.001748, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.7 MB / 0.7452 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 66.73 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3171, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1682/0.4853, allocations: 149.1 MB / 1.214 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004504/0.4899, allocations: 3.617 MB / 1.217 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.4901, allocations: 0 / 1.217 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.4905, allocations: 71.58 kB / 1.217 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.491, allocations: 135.2 kB / 1.218 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.4939, allocations: 1.009 MB / 1.219 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.4943, allocations: 319.7 kB / 1.219 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.646e-05/0.4944, allocations: 9.562 kB / 1.219 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.4948, allocations: 199.1 kB / 1.219 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.495, allocations: 123.6 kB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.4951, allocations: 16 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.4972, allocations: 1.212 MB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.4973, allocations: 75.78 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.4975, allocations: 111.5 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.4987, allocations: 0.6277 MB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4987, allocations: 3.984 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4987, allocations: 0 / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.4988, allocations: 0 / 1.221 GB, free: 13.16 MB / 0.9825 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.00119/0.5, allocations: 0.5889 MB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5, allocations: 15.97 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5012, allocations: 132.5 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.5015, allocations: 228 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.5016, allocations: 16.31 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.5016, allocations: 19.98 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.5021, allocations: 334.3 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5022, allocations: 3.938 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.5022, allocations: 16 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.5023, allocations: 12 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.5028, allocations: 320.1 kB / 1.223 GB, free: 11.4 MB / 0.9825 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.001643/0.5044, allocations: 1.117 MB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.505, allocations: 186.5 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.5051, allocations: 84.8 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.5056, allocations: 465.4 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.5057, allocations: 38.56 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.5057, allocations: 0 / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006838/0.5064, allocations: 258.8 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.5064, allocations: 59.39 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5067, allocations: 207 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.5067, allocations: 29.7 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.5068, allocations: 152 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.5069, allocations: 63.02 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.507, allocations: 57.61 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5071, allocations: 330.8 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.5072, allocations: 72.22 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.5074, allocations: 160.1 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.5077, allocations: 241.3 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5077, allocations: 11.94 kB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005222/0.5083, allocations: 284.2 kB / 1.226 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5083, allocations: 8 kB / 1.226 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5083, allocations: 0 / 1.226 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5083, allocations: 11.94 kB / 1.226 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.5086, allocations: 60.28 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5086, allocations: 4 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.5089, allocations: 31.59 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.5089, allocations: 16 kB / 1.227 GB, free: 7.172 MB / 0.9825 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.0001279/0.5091, allocations: 143.5 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.5092, allocations: 27.73 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.5097, allocations: 271.3 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5097, allocations: 11.92 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5097, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5097, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.5105, allocations: 0.5801 MB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.5105, allocations: 7.984 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.5107, allocations: 31.92 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5107, allocations: 8 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.5107, allocations: 8.062 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5107, allocations: 4 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5107, allocations: 0 / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.5113, allocations: 349.7 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.5114, allocations: 116.7 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.5114, allocations: 8 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.5117, allocations: 15.98 kB / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.5117, allocations: 11.92 kB / 1.228 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.5118, allocations: 16 kB / 1.228 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001323/0.5119, allocations: 153.4 kB / 1.228 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5119, allocations: 0 / 1.228 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005163/0.5124, allocations: 119.9 kB / 1.228 GB, free: 5.203 MB / 0.9825 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.0005021/0.513, allocations: 211.3 kB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.5134, allocations: 229.8 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5134, allocations: 0.75 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.5136, allocations: 103.8 kB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.5142, allocations: 109.2 kB / 1.229 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.5151, allocations: 453.6 kB / 1.229 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.5154, allocations: 0.7367 MB / 1.23 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003047/0.5157, allocations: 54.2 kB / 1.23 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.5158, allocations: 27.42 kB / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.5158, allocations: 4 kB / 1.23 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of Templates: time 0.01033/0.5261, allocations: 5.472 MB / 1.236 GB, free: 13.83 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) 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) Reference file matches