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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001202/0.001202, allocations: 111.3 kB / 15.99 MB, free: 6.348 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.001136/0.001136, allocations: 187.7 kB / 16.91 MB, free: 6.188 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.312/1.312, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 76.05 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2656, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6576/0.9233, allocations: 147 MB / 1.161 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004361/0.9277, allocations: 3.593 MB / 1.165 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.9279, allocations: 1.531 kB / 1.165 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.9283, allocations: 56.64 kB / 1.165 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.9287, allocations: 134.4 kB / 1.165 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.9315, allocations: 0.9571 MB / 1.166 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005045/0.932, allocations: 319.6 kB / 1.166 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 6.949e-05/0.9321, allocations: 9.156 kB / 1.166 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000476/0.9326, allocations: 188.6 kB / 1.166 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.9329, allocations: 140.4 kB / 1.166 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.9329, allocations: 11 kB / 1.166 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.9352, allocations: 1.279 MB / 1.168 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.9354, allocations: 71.09 kB / 1.168 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.9356, allocations: 109.4 kB / 1.168 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.9366, allocations: 442.1 kB / 1.168 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9366, allocations: 0.875 kB / 1.168 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9366, allocations: 0 / 1.168 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.9366, allocations: 0 / 1.168 GB, free: 2.875 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.001451/0.9381, allocations: 0.5891 MB / 1.169 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.9381, allocations: 9 kB / 1.169 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.9394, allocations: 134.5 kB / 1.169 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.9397, allocations: 217.7 kB / 1.169 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.9397, allocations: 15.38 kB / 1.169 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.9398, allocations: 21.06 kB / 1.169 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.9404, allocations: 341.4 kB / 1.169 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9404, allocations: 0 / 1.169 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.9405, allocations: 11.44 kB / 1.169 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.9405, allocations: 15.11 kB / 1.169 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.9411, allocations: 328.8 kB / 1.17 GB, free: 1.875 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.001639/0.9427, allocations: 1.111 MB / 1.171 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.9432, allocations: 190.9 kB / 1.171 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.9434, allocations: 87.66 kB / 1.171 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005636/0.944, allocations: 459.9 kB / 1.172 GB, free: 436 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.944, allocations: 37.31 kB / 1.172 GB, free: 392 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.944, allocations: 0 / 1.172 GB, free: 392 kB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0007147/0.9447, allocations: 261.7 kB / 1.172 GB, free: 300 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.9448, allocations: 59.91 kB / 1.172 GB, free: 232 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.945, allocations: 207.9 kB / 1.172 GB, free: 92 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.9451, allocations: 27.64 kB / 1.172 GB, free: 60 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.9452, allocations: 152.4 kB / 1.172 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.9452, allocations: 71.72 kB / 1.172 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.9453, allocations: 57.92 kB / 1.172 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9455, allocations: 328.1 kB / 1.173 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.9456, allocations: 70.22 kB / 1.173 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.9458, allocations: 158.9 kB / 1.173 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.9462, allocations: 254.8 kB / 1.173 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9462, allocations: 1.094 kB / 1.173 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006089/0.9468, allocations: 277.7 kB / 1.173 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.9469, allocations: 6.5 kB / 1.173 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.9469, allocations: 3.531 kB / 1.173 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9469, allocations: 10.94 kB / 1.173 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.9472, allocations: 64.95 kB / 1.173 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.9472, allocations: 10.45 kB / 1.173 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.9475, allocations: 29.5 kB / 1.174 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.9475, allocations: 10.81 kB / 1.174 GB, free: 15.06 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.0001371/0.9476, allocations: 135.6 kB / 1.174 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.9478, allocations: 23.53 kB / 1.174 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.9483, allocations: 289.8 kB / 1.174 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.9483, allocations: 6.188 kB / 1.174 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9483, allocations: 4.969 kB / 1.174 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.9483, allocations: 6.469 kB / 1.174 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007399/0.9491, allocations: 0.5741 MB / 1.175 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9491, allocations: 5.188 kB / 1.175 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.9493, allocations: 35.45 kB / 1.175 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.9493, allocations: 4.938 kB / 1.175 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.9493, allocations: 6.375 kB / 1.175 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.9493, allocations: 4.984 kB / 1.175 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9493, allocations: 1.344 kB / 1.175 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.9498, allocations: 351.3 kB / 1.175 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.95, allocations: 122.5 kB / 1.175 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.95, allocations: 2.094 kB / 1.175 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.9503, allocations: 16.2 kB / 1.175 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.9504, allocations: 9.703 kB / 1.175 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.9504, allocations: 15.69 kB / 1.175 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001274/0.9505, allocations: 152.4 kB / 1.175 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9505, allocations: 4 kB / 1.175 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005535/0.9511, allocations: 110.5 kB / 1.175 GB, free: 13.93 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.000468/0.9516, allocations: 224.3 kB / 1.176 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.952, allocations: 221.4 kB / 1.176 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.952, allocations: 1.125 kB / 1.176 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.9522, allocations: 105.5 kB / 1.176 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.9528, allocations: 101.2 kB / 1.176 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.9536, allocations: 0.5503 MB / 1.176 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.9539, allocations: 0.7418 MB / 1.177 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.9541, allocations: 24.91 kB / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/0.9541, allocations: 0 / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of Templates: time 0.00748/0.9616, allocations: 4.35 MB / 1.181 GB, free: 10.29 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 -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