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.001693/0.001693, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.78/2.78, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6948, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1851/0.88, allocations: 149.1 MB / 1.163 GB, free: 12.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004849/0.8849, allocations: 3.603 MB / 1.166 GB, free: 9.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.885, allocations: 0 / 1.166 GB, free: 9.211 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.8854, allocations: 67.64 kB / 1.166 GB, free: 9.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.8858, allocations: 127.2 kB / 1.167 GB, free: 9.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.8883, allocations: 1.015 MB / 1.168 GB, free: 8.004 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.8887, allocations: 319.7 kB / 1.168 GB, free: 7.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.059e-05/0.8887, allocations: 17.55 kB / 1.168 GB, free: 7.672 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.8892, allocations: 187.2 kB / 1.168 GB, free: 7.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.8894, allocations: 127.5 kB / 1.168 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.8894, allocations: 12 kB / 1.168 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.8917, allocations: 1.22 MB / 1.169 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.8918, allocations: 71.78 kB / 1.169 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.8919, allocations: 107.5 kB / 1.17 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.893, allocations: 0.6332 MB / 1.17 GB, free: 5.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.893, allocations: 0 / 1.17 GB, free: 5.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.893, allocations: 0 / 1.17 GB, free: 5.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.893, allocations: 0 / 1.17 GB, free: 5.32 MB / 0.92 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.00118/0.8942, allocations: 0.5889 MB / 1.171 GB, free: 4.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.8943, allocations: 12.03 kB / 1.171 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.8955, allocations: 132.6 kB / 1.171 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.8958, allocations: 224 kB / 1.171 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.8959, allocations: 16.31 kB / 1.171 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.8959, allocations: 20 kB / 1.171 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.8966, allocations: 342.2 kB / 1.171 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.8966, allocations: 0 / 1.171 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.8966, allocations: 12 kB / 1.172 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.8967, allocations: 12 kB / 1.172 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/0.8972, allocations: 328 kB / 1.172 GB, free: 3.551 MB / 0.92 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.001759/0.899, allocations: 1.121 MB / 1.173 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.8996, allocations: 186.5 kB / 1.173 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.8998, allocations: 84.75 kB / 1.173 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/0.9004, allocations: 465.4 kB / 1.174 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.9004, allocations: 34.56 kB / 1.174 GB, free: 1.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/0.9005, allocations: 0 / 1.174 GB, free: 1.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0007639/0.9012, allocations: 260.4 kB / 1.174 GB, free: 1.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.9013, allocations: 59.34 kB / 1.174 GB, free: 1.145 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.9016, allocations: 211.1 kB / 1.174 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.9016, allocations: 25.7 kB / 1.174 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.9018, allocations: 151.9 kB / 1.174 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.9018, allocations: 70.94 kB / 1.174 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.9019, allocations: 53.61 kB / 1.174 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.9021, allocations: 330.8 kB / 1.175 GB, free: 288 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.9023, allocations: 72.23 kB / 1.175 GB, free: 216 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.9025, allocations: 155.7 kB / 1.175 GB, free: 20 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.9029, allocations: 246.9 kB / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.9029, allocations: 0 / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005885/0.9035, allocations: 283.5 kB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.9035, allocations: 8.375 kB / 1.175 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9035, allocations: 4 kB / 1.176 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.9036, allocations: 7.938 kB / 1.176 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.9038, allocations: 67.95 kB / 1.176 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9039, allocations: 7.938 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.9041, allocations: 31.69 kB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.9041, allocations: 12 kB / 1.176 GB, free: 15.32 MB / 0.9356 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.0002002/0.9043, allocations: 137.8 kB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.9044, allocations: 19.81 kB / 1.176 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.9051, allocations: 284.2 kB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.9051, allocations: 15.88 kB / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9051, allocations: 0 / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.9051, allocations: 3.984 kB / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.9061, allocations: 0.5721 MB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9061, allocations: 0 / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.9063, allocations: 40.05 kB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9063, allocations: 0 / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.9064, allocations: 4 kB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.9064, allocations: 3.984 kB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.9064, allocations: 7.938 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.9069, allocations: 358.7 kB / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.9071, allocations: 120.8 kB / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.9071, allocations: 0 / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.9074, allocations: 15.98 kB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.9074, allocations: 15.92 kB / 1.177 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.9075, allocations: 12 kB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001381/0.9076, allocations: 153.5 kB / 1.177 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9076, allocations: 0 / 1.177 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004883/0.9081, allocations: 112 kB / 1.177 GB, free: 13.36 MB / 0.9356 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.0004206/0.9085, allocations: 223 kB / 1.178 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.909, allocations: 226 kB / 1.178 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.909, allocations: 0 / 1.178 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.9092, allocations: 101 kB / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.9099, allocations: 103.9 kB / 1.178 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.9108, allocations: 473.5 kB / 1.179 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.9113, allocations: 0.7405 MB / 1.179 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003092/0.9116, allocations: 54.25 kB / 1.179 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.9117, allocations: 31.42 kB / 1.179 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of SimCode: time 1.002e-06/0.9117, allocations: 0 / 1.179 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of Templates: time 0.01181/0.9235, allocations: 5.47 MB / 1.185 GB, free: 5.973 MB / 0.9356 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches