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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00105/0.00105, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008403/0.008403, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005976/0.0005976, allocations: 12.27 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6886/0.6892, allocations: 142.4 MB / 0.955 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1804/0.8696, allocations: 145 MB / 1.097 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.8751, allocations: 3.63 MB / 1.1 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.8754, allocations: 0 / 1.1 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.8758, allocations: 63.69 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.8762, allocations: 123.3 kB / 1.1 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.879, allocations: 0.9381 MB / 1.101 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.8796, allocations: 499.4 kB / 1.102 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.8797, allocations: 17.55 kB / 1.102 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.8801, allocations: 171.3 kB / 1.102 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.8803, allocations: 143.5 kB / 1.102 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.8804, allocations: 12 kB / 1.102 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.8829, allocations: 1.524 MB / 1.104 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.883, allocations: 67.78 kB / 1.104 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.8832, allocations: 137.2 kB / 1.104 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.8845, allocations: 0.7305 MB / 1.104 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8845, allocations: 0 / 1.104 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8845, allocations: 0 / 1.104 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.8845, allocations: 0 / 1.104 GB, free: 6.074 MB / 0.8575 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.001046/0.8855, allocations: 0.547 MB / 1.105 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.8856, allocations: 8.031 kB / 1.105 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.8868, allocations: 140.5 kB / 1.105 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.887, allocations: 220 kB / 1.105 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.8871, allocations: 12.31 kB / 1.105 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.8871, allocations: 24 kB / 1.105 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.8877, allocations: 338 kB / 1.106 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.8877, allocations: 4 kB / 1.106 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.8878, allocations: 15.97 kB / 1.106 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.8878, allocations: 12 kB / 1.106 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005637/0.8884, allocations: 324.1 kB / 1.106 GB, free: 4.352 MB / 0.8575 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.001659/0.89, allocations: 1.105 MB / 1.107 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.8905, allocations: 202.4 kB / 1.107 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.8907, allocations: 80.81 kB / 1.107 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/0.8913, allocations: 457.4 kB / 1.108 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.8913, allocations: 38.55 kB / 1.108 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.8913, allocations: 0 / 1.108 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0006756/0.892, allocations: 264.1 kB / 1.108 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.8921, allocations: 51.41 kB / 1.108 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.8923, allocations: 203.1 kB / 1.108 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.8923, allocations: 33.64 kB / 1.108 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.8924, allocations: 144 kB / 1.108 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.8925, allocations: 78.83 kB / 1.109 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.8926, allocations: 29.7 kB / 1.109 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8927, allocations: 326.8 kB / 1.109 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.8928, allocations: 76.22 kB / 1.109 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.893, allocations: 152.8 kB / 1.109 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.8933, allocations: 255.6 kB / 1.109 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8933, allocations: 4 kB / 1.109 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000527/0.8939, allocations: 280.2 kB / 1.11 GB, free: 292 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8939, allocations: 8 kB / 1.11 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.8939, allocations: 7.984 kB / 1.11 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.8939, allocations: 11.92 kB / 1.11 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.8942, allocations: 55.92 kB / 1.11 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.8942, allocations: 7.938 kB / 1.11 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.8945, allocations: 31.67 kB / 1.11 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.8945, allocations: 12 kB / 1.11 GB, free: 156 kB / 0.8575 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.0001313/0.8946, allocations: 137.8 kB / 1.11 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.8948, allocations: 23.86 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.8953, allocations: 281.1 kB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.8953, allocations: 3.938 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.8953, allocations: 4.109 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8953, allocations: 3.938 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007501/0.8961, allocations: 0.5986 MB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.8961, allocations: 0 / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.8963, allocations: 31.98 kB / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8963, allocations: 0 / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.8964, allocations: 8 kB / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8964, allocations: 0 / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8964, allocations: 0 / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.8969, allocations: 353.4 kB / 1.111 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.897, allocations: 116.8 kB / 1.111 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.8971, allocations: 7.984 kB / 1.111 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.8973, allocations: 12 kB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.8974, allocations: 11.98 kB / 1.111 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.8974, allocations: 19.98 kB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001212/0.8975, allocations: 152.3 kB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8976, allocations: 0 / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005118/0.8981, allocations: 112 kB / 1.112 GB, free: 14.19 MB / 0.8731 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.0004247/0.8985, allocations: 222.9 kB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.8989, allocations: 209.3 kB / 1.112 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8989, allocations: 3.938 kB / 1.112 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.899, allocations: 99.88 kB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.8997, allocations: 100.7 kB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.9006, allocations: 0.5601 MB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.9009, allocations: 0.7406 MB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.9012, allocations: 62.19 kB / 1.114 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.9013, allocations: 23.44 kB / 1.114 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of SimCode: time 1.633e-06/0.9013, allocations: 0 / 1.114 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.00994/0.9112, allocations: 5.29 MB / 1.119 GB, free: 6.898 MB / 0.8731 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