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.001364/0.001364, allocations: 104.3 kB / 16.27 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 188 kB / 17.19 MB, free: 5.594 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.676/2.676, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.7 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6877/0.6896, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1836/0.8733, allocations: 149.1 MB / 1.228 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.8779, allocations: 3.617 MB / 1.232 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.878, allocations: 0 / 1.232 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.8783, allocations: 63.66 kB / 1.232 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.8787, allocations: 131.2 kB / 1.232 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.881, allocations: 1.014 MB / 1.233 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.8814, allocations: 327.6 kB / 1.234 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.8815, allocations: 13.56 kB / 1.234 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.8818, allocations: 183.2 kB / 1.234 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.882, allocations: 123.6 kB / 1.234 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.8821, allocations: 8 kB / 1.234 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.8841, allocations: 1.224 MB / 1.235 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.557e-05/0.8842, allocations: 67.78 kB / 1.235 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.8844, allocations: 111.5 kB / 1.235 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.8854, allocations: 0.6332 MB / 1.236 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8854, allocations: 0 / 1.236 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8854, allocations: 0 / 1.236 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.8854, allocations: 0 / 1.236 GB, free: 1.871 MB / 0.9512 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.001151/0.8866, allocations: 0.5811 MB / 1.236 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.8866, allocations: 15.97 kB / 1.236 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.8879, allocations: 136.5 kB / 1.237 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.8881, allocations: 228 kB / 1.237 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.8882, allocations: 12.31 kB / 1.237 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.8882, allocations: 20 kB / 1.237 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.8888, allocations: 334.3 kB / 1.237 GB, free: 464 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8888, allocations: 0 / 1.237 GB, free: 464 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.8888, allocations: 12 kB / 1.237 GB, free: 452 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.8889, allocations: 16 kB / 1.237 GB, free: 436 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.8894, allocations: 324.1 kB / 1.237 GB, free: 112 kB / 0.9512 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.001727/0.8912, allocations: 1.125 MB / 1.239 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.8917, allocations: 182.5 kB / 1.239 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.8918, allocations: 80.81 kB / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005863/0.8924, allocations: 465.4 kB / 1.239 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.8925, allocations: 38.5 kB / 1.239 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.8925, allocations: 0 / 1.239 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0006762/0.8932, allocations: 260.9 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.8932, allocations: 51.41 kB / 1.24 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.8935, allocations: 207.1 kB / 1.24 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.8935, allocations: 33.64 kB / 1.24 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.8936, allocations: 140 kB / 1.24 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.8937, allocations: 78.92 kB / 1.24 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.8938, allocations: 53.61 kB / 1.24 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.894, allocations: 334.8 kB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.8941, allocations: 68.23 kB / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.8943, allocations: 164.7 kB / 1.241 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.8947, allocations: 247 kB / 1.241 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8947, allocations: 3.938 kB / 1.241 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000548/0.8952, allocations: 283.5 kB / 1.241 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8953, allocations: 8 kB / 1.241 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.8953, allocations: 7.984 kB / 1.241 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.8953, allocations: 7.938 kB / 1.241 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.8956, allocations: 59.91 kB / 1.241 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.8956, allocations: 4.375 kB / 1.241 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.8958, allocations: 35.59 kB / 1.241 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.8958, allocations: 12 kB / 1.241 GB, free: 11.88 MB / 0.9669 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.0001451/0.896, allocations: 141.7 kB / 1.241 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.8961, allocations: 19.81 kB / 1.241 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.8966, allocations: 273 kB / 1.242 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.8966, allocations: 11.94 kB / 1.242 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8967, allocations: 4 kB / 1.242 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.8967, allocations: 3.984 kB / 1.242 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007823/0.8975, allocations: 0.5816 MB / 1.242 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8975, allocations: 0 / 1.242 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.8977, allocations: 39.92 kB / 1.242 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.8977, allocations: 0 / 1.242 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.8977, allocations: 0 / 1.242 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.8977, allocations: 7.984 kB / 1.242 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8977, allocations: 4.062 kB / 1.242 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.8983, allocations: 350.8 kB / 1.243 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.8984, allocations: 124.7 kB / 1.243 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.8985, allocations: 4 kB / 1.243 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.8987, allocations: 18.05 kB / 1.243 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.8988, allocations: 11.98 kB / 1.243 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.8988, allocations: 12 kB / 1.243 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001485/0.899, allocations: 157.4 kB / 1.243 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.899, allocations: 3.938 kB / 1.243 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004724/0.8994, allocations: 108 kB / 1.243 GB, free: 9.918 MB / 0.9669 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.0004439/0.8999, allocations: 227.3 kB / 1.243 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.9003, allocations: 212.6 kB / 1.243 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9003, allocations: 0 / 1.243 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.9005, allocations: 102.7 kB / 1.244 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.9012, allocations: 107.8 kB / 1.244 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.902, allocations: 0.4913 MB / 1.244 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.9024, allocations: 0.7406 MB / 1.245 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.9025, allocations: 27.42 kB / 1.245 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.9025, allocations: 0 / 1.245 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of Templates: time 0.007205/0.9097, allocations: 4.351 MB / 1.249 GB, free: 3.629 MB / 0.9669 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches