Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001413/0.001413, allocations: 107.2 kB / 16.41 MB, free: 6.477 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.001641/0.001641, allocations: 183 kB / 17.34 MB, free: 5.754 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 64.03 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7436, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1498/0.8934, allocations: 149.1 MB / 1.354 GB, free: 7.957 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004106/0.8976, allocations: 3.61 MB / 1.358 GB, free: 4.336 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.8978, allocations: 4 kB / 1.358 GB, free: 4.332 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.8981, allocations: 63.64 kB / 1.358 GB, free: 4.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.8985, allocations: 135.2 kB / 1.358 GB, free: 4.137 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.901, allocations: 1.014 MB / 1.359 GB, free: 3.121 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.9014, allocations: 327.6 kB / 1.359 GB, free: 2.797 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.9015, allocations: 13.56 kB / 1.359 GB, free: 2.785 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.9019, allocations: 191.2 kB / 1.359 GB, free: 2.598 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.9021, allocations: 127.5 kB / 1.359 GB, free: 2.473 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.9021, allocations: 11.98 kB / 1.359 GB, free: 2.461 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.9041, allocations: 1.22 MB / 1.361 GB, free: 1.238 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/0.9042, allocations: 63.86 kB / 1.361 GB, free: 1.176 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.9043, allocations: 107.5 kB / 1.361 GB, free: 1.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.9055, allocations: 0.6368 MB / 1.361 GB, free: 448 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9055, allocations: 8 kB / 1.361 GB, free: 440 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9055, allocations: 0 / 1.361 GB, free: 440 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.9056, allocations: 0 / 1.361 GB, free: 440 kB / 1.076 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.001208/0.9068, allocations: 0.5811 MB / 1.362 GB, free: 15.8 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.9068, allocations: 15.97 kB / 1.362 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.9081, allocations: 132.5 kB / 1.362 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.9083, allocations: 228 kB / 1.362 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.9084, allocations: 16.31 kB / 1.362 GB, free: 15.38 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.9084, allocations: 16 kB / 1.362 GB, free: 15.36 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.909, allocations: 342.2 kB / 1.363 GB, free: 15.01 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.909, allocations: 0 / 1.363 GB, free: 15.01 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.909, allocations: 12 kB / 1.363 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.9091, allocations: 15.98 kB / 1.363 GB, free: 14.98 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/0.9096, allocations: 320.1 kB / 1.363 GB, free: 14.67 MB / 1.092 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.00161/0.9112, allocations: 1.117 MB / 1.364 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.9117, allocations: 198.1 kB / 1.364 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.9119, allocations: 80.81 kB / 1.364 GB, free: 13.18 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/0.9124, allocations: 457.4 kB / 1.365 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.9124, allocations: 46.48 kB / 1.365 GB, free: 12.59 MB / 1.092 GB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/0.9125, allocations: 0 / 1.365 GB, free: 12.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=21): time 0.0006771/0.9131, allocations: 255.8 kB / 1.365 GB, free: 12.34 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.9132, allocations: 55.41 kB / 1.365 GB, free: 12.27 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.9134, allocations: 211 kB / 1.365 GB, free: 12.05 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.9134, allocations: 25.7 kB / 1.365 GB, free: 12.02 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.9135, allocations: 148.1 kB / 1.366 GB, free: 11.87 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.9136, allocations: 78.86 kB / 1.366 GB, free: 11.79 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/0.9137, allocations: 53.61 kB / 1.366 GB, free: 11.73 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.9138, allocations: 326.8 kB / 1.366 GB, free: 11.4 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.9139, allocations: 72.22 kB / 1.366 GB, free: 11.33 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.9141, allocations: 163.6 kB / 1.366 GB, free: 11.13 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.9144, allocations: 253.7 kB / 1.366 GB, free: 10.85 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9144, allocations: 0 / 1.366 GB, free: 10.85 MB / 1.092 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005261/0.9149, allocations: 281.1 kB / 1.367 GB, free: 10.57 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.915, allocations: 8.375 kB / 1.367 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.915, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.915, allocations: 11.94 kB / 1.367 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.9153, allocations: 51.92 kB / 1.367 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.9153, allocations: 15.91 kB / 1.367 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.9155, allocations: 31.59 kB / 1.367 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.9156, allocations: 16 kB / 1.367 GB, free: 10.43 MB / 1.092 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.0001298/0.9157, allocations: 133.8 kB / 1.367 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.9159, allocations: 27.73 kB / 1.367 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.9163, allocations: 272.8 kB / 1.367 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.9164, allocations: 7.938 kB / 1.367 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9164, allocations: 0 / 1.367 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.9164, allocations: 0 / 1.367 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.9171, allocations: 0.5857 MB / 1.368 GB, free: 9.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.9171, allocations: 4 kB / 1.368 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.9173, allocations: 31.92 kB / 1.368 GB, free: 9.305 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.9173, allocations: 12 kB / 1.368 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.9174, allocations: 4 kB / 1.368 GB, free: 9.289 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.9174, allocations: 4 kB / 1.368 GB, free: 9.285 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9174, allocations: 0 / 1.368 GB, free: 9.285 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.9179, allocations: 356.4 kB / 1.368 GB, free: 8.922 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.918, allocations: 120.7 kB / 1.368 GB, free: 8.785 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.9181, allocations: 7.984 kB / 1.368 GB, free: 8.777 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.9183, allocations: 12 kB / 1.368 GB, free: 8.766 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.9184, allocations: 7.984 kB / 1.368 GB, free: 8.758 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.9184, allocations: 19.98 kB / 1.368 GB, free: 8.738 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001214/0.9185, allocations: 145.5 kB / 1.368 GB, free: 8.598 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9185, allocations: 0 / 1.368 GB, free: 8.598 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005192/0.9191, allocations: 116 kB / 1.369 GB, free: 8.484 MB / 1.092 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.0004414/0.9195, allocations: 223 kB / 1.369 GB, free: 8.254 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.9199, allocations: 204.1 kB / 1.369 GB, free: 8.055 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.9199, allocations: 8.188 kB / 1.369 GB, free: 8.047 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.9201, allocations: 107.8 kB / 1.369 GB, free: 7.941 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.9207, allocations: 97.62 kB / 1.369 GB, free: 7.848 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/0.9216, allocations: 491.3 kB / 1.37 GB, free: 7.332 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.9219, allocations: 0.7328 MB / 1.37 GB, free: 6.574 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.922, allocations: 27.44 kB / 1.37 GB, free: 6.547 MB / 1.092 GB Notification: Performance of SimCode: time 1.773e-06/0.922, allocations: 0 / 1.37 GB, free: 6.547 MB / 1.092 GB Notification: Performance of Templates: time 0.007553/0.9295, allocations: 4.364 MB / 1.375 GB, free: 2.203 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches