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.001689/0.001689, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001778/0.001778, allocations: 191 kB / 17.29 MB, free: 5.516 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.212/2.212, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.03 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2985, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7911/1.09, allocations: 149.1 MB / 1.097 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004013/1.094, allocations: 3.624 MB / 1.1 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/1.094, allocations: 0.6875 kB / 1.1 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003823/1.094, allocations: 62.7 kB / 1.1 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003948/1.095, allocations: 135.8 kB / 1.1 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/1.098, allocations: 1.005 MB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005922/1.099, allocations: 319.9 kB / 1.102 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.441e-05/1.099, allocations: 12.8 kB / 1.102 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/1.099, allocations: 187.7 kB / 1.102 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/1.099, allocations: 130 kB / 1.102 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/1.099, allocations: 14.47 kB / 1.102 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/1.102, allocations: 1.229 MB / 1.103 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/1.102, allocations: 66.36 kB / 1.103 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/1.103, allocations: 112.4 kB / 1.103 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/1.104, allocations: 0.6362 MB / 1.104 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.104, allocations: 4.5 kB / 1.104 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.545e-06/1.104, allocations: 0 / 1.104 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.104, allocations: 0 / 1.104 GB, free: 5.906 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.001854/1.106, allocations: 0.59 MB / 1.105 GB, free: 21.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/1.106, allocations: 10.92 kB / 1.105 GB, free: 21.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/1.108, allocations: 129 kB / 1.105 GB, free: 21.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/1.108, allocations: 224.7 kB / 1.105 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/1.108, allocations: 18.62 kB / 1.105 GB, free: 21.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/1.108, allocations: 18.44 kB / 1.105 GB, free: 21.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000705/1.109, allocations: 341.2 kB / 1.105 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.109, allocations: 5.156 kB / 1.105 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.109, allocations: 10.42 kB / 1.105 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/1.109, allocations: 13.8 kB / 1.105 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006446/1.11, allocations: 321.9 kB / 1.106 GB, free: 21.15 MB / 0.8731 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.001796/1.111, allocations: 1.11 MB / 1.107 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/1.112, allocations: 189.5 kB / 1.107 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.112, allocations: 81.48 kB / 1.107 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/1.113, allocations: 462.3 kB / 1.107 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/1.113, allocations: 39.22 kB / 1.107 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.535e-06/1.113, allocations: 0 / 1.107 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0007305/1.114, allocations: 262.6 kB / 1.108 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.114, allocations: 56.02 kB / 1.108 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/1.114, allocations: 201.5 kB / 1.108 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/1.114, allocations: 31.05 kB / 1.108 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/1.114, allocations: 149.1 kB / 1.108 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/1.114, allocations: 73.59 kB / 1.108 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/1.114, allocations: 56.27 kB / 1.108 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.114, allocations: 327.6 kB / 1.109 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.114, allocations: 71.91 kB / 1.109 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/1.115, allocations: 167.2 kB / 1.109 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/1.115, allocations: 246.2 kB / 1.109 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.115, allocations: 1.062 kB / 1.109 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006459/1.116, allocations: 285.9 kB / 1.109 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.116, allocations: 6.594 kB / 1.109 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.116, allocations: 3.359 kB / 1.109 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.116, allocations: 4.125 kB / 1.109 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/1.116, allocations: 64.33 kB / 1.109 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.116, allocations: 12.25 kB / 1.109 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/1.116, allocations: 28.69 kB / 1.109 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/1.116, allocations: 14.59 kB / 1.109 GB, free: 18.8 MB / 0.8731 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.0001418/1.117, allocations: 138.7 kB / 1.11 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.117, allocations: 23 kB / 1.11 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/1.117, allocations: 276.8 kB / 1.11 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/1.117, allocations: 7.594 kB / 1.11 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.117, allocations: 1.766 kB / 1.11 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.117, allocations: 5.172 kB / 1.11 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008597/1.118, allocations: 0.5804 MB / 1.11 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.118, allocations: 8.578 kB / 1.11 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/1.118, allocations: 33.45 kB / 1.11 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/1.118, allocations: 1.312 kB / 1.11 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/1.118, allocations: 6.422 kB / 1.11 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/1.118, allocations: 2.812 kB / 1.11 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.118, allocations: 1.156 kB / 1.11 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/1.119, allocations: 345.7 kB / 1.111 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/1.119, allocations: 123.2 kB / 1.111 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/1.119, allocations: 6.172 kB / 1.111 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/1.12, allocations: 18.19 kB / 1.111 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/1.12, allocations: 17.08 kB / 1.111 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/1.12, allocations: 14.45 kB / 1.111 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001772/1.12, allocations: 151.4 kB / 1.111 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.12, allocations: 1.156 kB / 1.111 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007742/1.121, allocations: 113 kB / 1.111 GB, free: 17.94 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.000616/1.121, allocations: 220.1 kB / 1.111 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005504/1.122, allocations: 211.9 kB / 1.112 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.122, allocations: 1.188 kB / 1.112 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/1.122, allocations: 111.7 kB / 1.112 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/1.123, allocations: 95.45 kB / 1.112 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/1.124, allocations: 458 kB / 1.112 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/1.124, allocations: 0.7379 MB / 1.113 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002709/1.125, allocations: 61.11 kB / 1.113 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/1.125, allocations: 23.22 kB / 1.113 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/1.125, allocations: 0 / 1.113 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.01304/1.138, allocations: 5.486 MB / 1.118 GB, free: 16.48 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches