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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007511/0.007511, allocations: 98.75 kB / 15.73 MB, free: 6.004 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.001756/0.001756, allocations: 195.3 kB / 16.67 MB, free: 5.934 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.717/2.717, allocations: 469.4 MB / 0.7422 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2598, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.702/0.9618, allocations: 149.1 MB / 1.365 GB, free: 300 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.9658, allocations: 3.608 MB / 1.369 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.966, allocations: 5.062 kB / 1.369 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.9663, allocations: 73.3 kB / 1.369 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.9666, allocations: 139.3 kB / 1.369 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.9689, allocations: 1.032 MB / 1.37 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.9693, allocations: 317.8 kB / 1.37 GB, free: 13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.9693, allocations: 21.16 kB / 1.37 GB, free: 13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.9697, allocations: 196.9 kB / 1.371 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.9698, allocations: 131.1 kB / 1.371 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.9699, allocations: 11.28 kB / 1.371 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.9718, allocations: 1.214 MB / 1.372 GB, free: 12.37 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.9719, allocations: 73.88 kB / 1.372 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.972, allocations: 105.2 kB / 1.372 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.973, allocations: 0.645 MB / 1.373 GB, free: 12.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.973, allocations: 0 / 1.373 GB, free: 12.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9731, allocations: 9.25 kB / 1.373 GB, free: 12.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9731, allocations: 0 / 1.373 GB, free: 12.07 MB / 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.001113/0.9742, allocations: 0.5974 MB / 1.373 GB, free: 11.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.9742, allocations: 9.094 kB / 1.373 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.9743, allocations: 55.72 kB / 1.373 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.9755, allocations: 136 kB / 1.374 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.9758, allocations: 217.9 kB / 1.374 GB, free: 11.28 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.9758, allocations: 19.5 kB / 1.374 GB, free: 11.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.9759, allocations: 15.16 kB / 1.374 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.9764, allocations: 341.1 kB / 1.374 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9764, allocations: 0 / 1.374 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.9765, allocations: 8.656 kB / 1.374 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.9765, allocations: 12.92 kB / 1.374 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.9771, allocations: 321.8 kB / 1.374 GB, free: 11.02 MB / 1.076 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.001728/0.9788, allocations: 1.116 MB / 1.376 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.9793, allocations: 194 kB / 1.376 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.9795, allocations: 88.34 kB / 1.376 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005887/0.9801, allocations: 459.4 kB / 1.376 GB, free: 9.562 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.9801, allocations: 36.97 kB / 1.376 GB, free: 9.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.9801, allocations: 0 / 1.376 GB, free: 9.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0006894/0.9808, allocations: 255.7 kB / 1.377 GB, free: 9.434 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.9809, allocations: 62.03 kB / 1.377 GB, free: 9.363 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.9811, allocations: 214.2 kB / 1.377 GB, free: 9.223 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.9811, allocations: 32.27 kB / 1.377 GB, free: 9.188 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.9812, allocations: 139.6 kB / 1.377 GB, free: 9.062 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.9813, allocations: 82.39 kB / 1.377 GB, free: 8.996 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.9814, allocations: 54.8 kB / 1.377 GB, free: 8.961 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9815, allocations: 328 kB / 1.377 GB, free: 8.641 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.9816, allocations: 69.59 kB / 1.377 GB, free: 8.629 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.9818, allocations: 160.2 kB / 1.378 GB, free: 8.504 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.9821, allocations: 250.1 kB / 1.378 GB, free: 8.332 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9822, allocations: 1.438 kB / 1.378 GB, free: 8.332 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005208/0.9827, allocations: 287.3 kB / 1.378 GB, free: 8.188 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9827, allocations: 9.75 kB / 1.378 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9827, allocations: 2.969 kB / 1.378 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9827, allocations: 9.531 kB / 1.378 GB, free: 8.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.983, allocations: 56.34 kB / 1.378 GB, free: 8.168 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.983, allocations: 15.89 kB / 1.378 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.9833, allocations: 29.81 kB / 1.378 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.9833, allocations: 14.09 kB / 1.378 GB, free: 8.133 MB / 1.076 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.0001336/0.9835, allocations: 133.9 kB / 1.378 GB, free: 8.004 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.9836, allocations: 33.28 kB / 1.378 GB, free: 7.984 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.9841, allocations: 275.2 kB / 1.379 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.9841, allocations: 6.531 kB / 1.379 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9841, allocations: 112 / 1.379 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.9842, allocations: 4.906 kB / 1.379 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.9849, allocations: 0.5933 MB / 1.379 GB, free: 7.336 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9849, allocations: 0.9375 kB / 1.379 GB, free: 7.336 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.9851, allocations: 34.77 kB / 1.379 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.9851, allocations: 1.094 kB / 1.379 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.9851, allocations: 3.281 kB / 1.379 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.9851, allocations: 3.094 kB / 1.379 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.9852, allocations: 1.25 kB / 1.379 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.9857, allocations: 351.6 kB / 1.38 GB, free: 7.082 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.9858, allocations: 121.2 kB / 1.38 GB, free: 6.961 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.9859, allocations: 10.36 kB / 1.38 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.9861, allocations: 6.562 kB / 1.38 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.9862, allocations: 14.77 kB / 1.38 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.9862, allocations: 12.48 kB / 1.38 GB, free: 6.941 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001242/0.9863, allocations: 153.2 kB / 1.38 GB, free: 6.832 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9863, allocations: 0 / 1.38 GB, free: 6.832 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005212/0.9869, allocations: 120 kB / 1.38 GB, free: 6.805 MB / 1.076 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.001087/0.988, allocations: 1.008 MB / 1.381 GB, free: 5.961 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.9883, allocations: 207.1 kB / 1.381 GB, free: 5.883 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9884, allocations: 1.25 kB / 1.381 GB, free: 5.883 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.9885, allocations: 98.23 kB / 1.381 GB, free: 5.848 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.9892, allocations: 101.1 kB / 1.381 GB, free: 5.801 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.9921, allocations: 2.489 MB / 1.384 GB, free: 3.828 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.9924, allocations: 0.7421 MB / 1.385 GB, free: 3.102 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002608/0.9927, allocations: 61.05 kB / 1.385 GB, free: 3.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.9928, allocations: 58.59 kB / 1.385 GB, free: 3.027 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.9928, allocations: 0 / 1.385 GB, free: 3.027 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/1.016, allocations: 7.742 MB / 1.392 GB, free: 15.11 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.663, allocations: 10.33 kB / 1.392 GB, free: 15.1 MB / 1.092 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.csv","/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