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: "" <> 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.00165/0.00165, 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.001904/0.001905, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.16 kB / 0.9082 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2428, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1408/0.3837, allocations: 149.1 MB / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003808/0.3875, allocations: 3.618 MB / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3877, allocations: 0 / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.388, allocations: 59.64 kB / 1.213 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.3884, allocations: 135.2 kB / 1.213 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.3908, allocations: 1.017 MB / 1.214 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.3912, allocations: 323.7 kB / 1.214 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.3913, allocations: 9.562 kB / 1.214 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.3918, allocations: 187.2 kB / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.392, allocations: 131.5 kB / 1.215 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.392, allocations: 12 kB / 1.215 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.3942, allocations: 1.22 MB / 1.216 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3943, allocations: 75.78 kB / 1.216 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3945, allocations: 103.5 kB / 1.216 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3956, allocations: 0.6355 MB / 1.217 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3956, allocations: 3.984 kB / 1.217 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3956, allocations: 0 / 1.217 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3956, allocations: 0 / 1.217 GB, free: 1.293 MB / 0.9669 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.001071/0.3967, allocations: 0.585 MB / 1.217 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3968, allocations: 12.03 kB / 1.217 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.3968, allocations: 58.72 kB / 1.217 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.398, allocations: 136.5 kB / 1.217 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.3983, allocations: 223.8 kB / 1.218 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.3983, allocations: 16.38 kB / 1.218 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3983, allocations: 19.98 kB / 1.218 GB, free: 160 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.3989, allocations: 334.4 kB / 1.218 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.3989, allocations: 0 / 1.218 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.3989, allocations: 15.89 kB / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/0.399, allocations: 19.98 kB / 1.218 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.3995, allocations: 316.1 kB / 1.218 GB, free: 15.46 MB / 0.9825 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.001491/0.401, allocations: 1.113 MB / 1.219 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.4015, allocations: 182.5 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.4016, allocations: 88.73 kB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.4021, allocations: 457.5 kB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.4022, allocations: 42.5 kB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.4022, allocations: 0 / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006163/0.4028, allocations: 261.2 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.4029, allocations: 55.41 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.403, allocations: 211 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.4031, allocations: 29.7 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.4032, allocations: 144 kB / 1.221 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.4032, allocations: 78.98 kB / 1.221 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.4033, allocations: 53.61 kB / 1.221 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.4034, allocations: 326.8 kB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4035, allocations: 72.22 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4037, allocations: 162.5 kB / 1.221 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.404, allocations: 246.8 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.404, allocations: 7.938 kB / 1.222 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004835/0.4045, allocations: 279.7 kB / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4045, allocations: 11.92 kB / 1.222 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4045, allocations: 4 kB / 1.222 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4045, allocations: 7.938 kB / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.4048, allocations: 60.3 kB / 1.222 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4048, allocations: 8 kB / 1.222 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.405, allocations: 35.58 kB / 1.222 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.4051, allocations: 12 kB / 1.222 GB, free: 11.24 MB / 0.9825 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.0001106/0.4052, allocations: 141.7 kB / 1.222 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.4053, allocations: 23.8 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.4058, allocations: 273 kB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4058, allocations: 4 kB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4058, allocations: 4 kB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4058, allocations: 0 / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.4065, allocations: 0.5802 MB / 1.223 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4065, allocations: 0 / 1.223 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.4067, allocations: 39.92 kB / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4067, allocations: 0 / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.4068, allocations: 4 kB / 1.223 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4068, allocations: 4.062 kB / 1.223 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4068, allocations: 4 kB / 1.223 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.4073, allocations: 353.6 kB / 1.223 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.4074, allocations: 120.7 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.4074, allocations: 7.984 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.4077, allocations: 12 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.4077, allocations: 11.98 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.4078, allocations: 19.97 kB / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001815/0.408, allocations: 149.4 kB / 1.224 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/0.408, allocations: 0 / 1.224 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004651/0.4085, allocations: 119.9 kB / 1.224 GB, free: 9.277 MB / 0.9825 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.001036/0.4095, allocations: 0.9963 MB / 1.225 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.4099, allocations: 221.4 kB / 1.225 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4099, allocations: 0 / 1.225 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.41, allocations: 103.8 kB / 1.225 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.4107, allocations: 110.1 kB / 1.225 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.4134, allocations: 2.488 MB / 1.228 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.4137, allocations: 0.7444 MB / 1.228 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.4141, allocations: 54.25 kB / 1.228 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4142, allocations: 55.42 kB / 1.229 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4142, allocations: 0 / 1.229 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.4394, allocations: 7.67 MB / 1.236 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/7.937, allocations: 8.172 kB / 1.236 GB, free: 12.74 MB / 0.9981 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