Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001062/0.001062, allocations: 114.9 kB / 16.37 MB, free: 6.016 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.001041/0.001041, allocations: 193.2 kB / 17.31 MB, free: 5.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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65.38 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3046, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5989/0.9035, allocations: 149.1 MB / 1.164 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004182/0.9077, allocations: 3.618 MB / 1.168 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.9079, allocations: 1.125 kB / 1.168 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.9082, allocations: 60.17 kB / 1.168 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.9086, allocations: 132.6 kB / 1.168 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.911, allocations: 1.012 MB / 1.169 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.9114, allocations: 317.1 kB / 1.169 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.9114, allocations: 13.19 kB / 1.169 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.9118, allocations: 187.3 kB / 1.17 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.912, allocations: 127.2 kB / 1.17 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.9121, allocations: 14.84 kB / 1.17 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.9142, allocations: 1.232 MB / 1.171 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.9144, allocations: 63.47 kB / 1.171 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.9145, allocations: 108.5 kB / 1.171 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.9155, allocations: 0.6379 MB / 1.172 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9156, allocations: 1.156 kB / 1.172 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9156, allocations: 0 / 1.172 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9156, allocations: 0 / 1.172 GB, free: 0.8633 MB / 0.8731 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.001079/0.9167, allocations: 0.5855 MB / 1.172 GB, free: 388 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.9167, allocations: 10.7 kB / 1.172 GB, free: 388 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.9179, allocations: 126.7 kB / 1.172 GB, free: 368 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.9182, allocations: 235.1 kB / 1.173 GB, free: 128 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.9182, allocations: 19.53 kB / 1.173 GB, free: 116 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.9183, allocations: 16.5 kB / 1.173 GB, free: 112 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.9188, allocations: 332.2 kB / 1.173 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.9188, allocations: 5.062 kB / 1.173 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.9189, allocations: 11.22 kB / 1.173 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.9189, allocations: 17.69 kB / 1.173 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.9194, allocations: 324.3 kB / 1.173 GB, free: 15.82 MB / 0.8887 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.001605/0.9211, allocations: 1.116 MB / 1.174 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.9215, allocations: 187.8 kB / 1.175 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.9217, allocations: 82.39 kB / 1.175 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/0.9222, allocations: 457.5 kB / 1.175 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.9223, allocations: 41.22 kB / 1.175 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 1.512e-06/0.9223, allocations: 0 / 1.175 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.0006785/0.923, allocations: 261.3 kB / 1.175 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.923, allocations: 57.58 kB / 1.175 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.9232, allocations: 203.8 kB / 1.176 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.9232, allocations: 31.95 kB / 1.176 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.9233, allocations: 144 kB / 1.176 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.9234, allocations: 76.27 kB / 1.176 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.9235, allocations: 62.67 kB / 1.176 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9236, allocations: 331.5 kB / 1.176 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.9237, allocations: 69.69 kB / 1.176 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.9239, allocations: 156.7 kB / 1.176 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.9242, allocations: 246.6 kB / 1.177 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9243, allocations: 1.031 kB / 1.177 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005318/0.9248, allocations: 287.6 kB / 1.177 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.9248, allocations: 7.25 kB / 1.177 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9248, allocations: 2.219 kB / 1.177 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9249, allocations: 4.562 kB / 1.177 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.9251, allocations: 64.69 kB / 1.177 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.9252, allocations: 3.719 kB / 1.177 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.9254, allocations: 29.62 kB / 1.177 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.9254, allocations: 13.75 kB / 1.177 GB, free: 12.66 MB / 0.8887 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.0001197/0.9255, allocations: 138.8 kB / 1.177 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.9257, allocations: 23.83 kB / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.9262, allocations: 293.5 kB / 1.178 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.9262, allocations: 6.031 kB / 1.178 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9262, allocations: 0 / 1.178 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.9262, allocations: 0 / 1.178 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007141/0.9269, allocations: 0.5836 MB / 1.178 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9269, allocations: 5.094 kB / 1.178 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.9271, allocations: 29.92 kB / 1.178 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.9272, allocations: 1.375 kB / 1.178 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.9272, allocations: 10.91 kB / 1.178 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.9272, allocations: 4.25 kB / 1.178 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9272, allocations: 2.938 kB / 1.178 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.9277, allocations: 349.4 kB / 1.179 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.9278, allocations: 121.3 kB / 1.179 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.9279, allocations: 6.75 kB / 1.179 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.9281, allocations: 9.484 kB / 1.179 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.9282, allocations: 18.8 kB / 1.179 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.9282, allocations: 17.61 kB / 1.179 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001184/0.9283, allocations: 148 kB / 1.179 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9284, allocations: 1.375 kB / 1.179 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005224/0.9289, allocations: 116.1 kB / 1.179 GB, free: 11.34 MB / 0.8887 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.000407/0.9293, allocations: 214 kB / 1.179 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.9297, allocations: 212.9 kB / 1.179 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9297, allocations: 1.25 kB / 1.179 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.9298, allocations: 104.6 kB / 1.179 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.9304, allocations: 105.8 kB / 1.18 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.9312, allocations: 451.2 kB / 1.18 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.9315, allocations: 0.7385 MB / 1.181 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.9317, allocations: 59.56 kB / 1.181 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.9318, allocations: 27.2 kB / 1.181 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of SimCode: time 1.563e-06/0.9318, allocations: 0 / 1.181 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of Templates: time 0.009402/0.9412, allocations: 5.488 MB / 1.186 GB, free: 7.211 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & ./Buildings_10_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches