Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_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.007831/0.007831, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001909/0.001909, allocations: 199 kB / 16.68 MB, free: 6.375 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 62.5 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2731, allocations: 140.4 MB / 1.088 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1499/0.423, allocations: 149.1 MB / 1.233 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004449/0.4275, allocations: 3.614 MB / 1.237 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.4278, allocations: 4 kB / 1.237 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.4282, allocations: 59.64 kB / 1.237 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.4286, allocations: 131.2 kB / 1.237 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.4312, allocations: 1.014 MB / 1.238 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.4317, allocations: 323.7 kB / 1.238 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.4318, allocations: 9.562 kB / 1.238 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.4323, allocations: 187.2 kB / 1.238 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.4325, allocations: 131.5 kB / 1.238 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.4326, allocations: 8 kB / 1.238 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.4346, allocations: 1.227 MB / 1.24 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.4348, allocations: 75.78 kB / 1.24 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.4349, allocations: 111.5 kB / 1.24 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.4362, allocations: 0.6348 MB / 1.24 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4363, allocations: 0 / 1.24 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4363, allocations: 0 / 1.24 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.4363, allocations: 0 / 1.24 GB, free: 4.715 MB / 0.9981 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.001185/0.4375, allocations: 0.585 MB / 1.241 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4375, allocations: 16.03 kB / 1.241 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.4376, allocations: 54.73 kB / 1.241 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.4388, allocations: 128.5 kB / 1.241 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.4392, allocations: 235.7 kB / 1.241 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.4392, allocations: 20.3 kB / 1.241 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.4393, allocations: 20 kB / 1.241 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.44, allocations: 330.1 kB / 1.242 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.44, allocations: 3.938 kB / 1.242 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.44, allocations: 12 kB / 1.242 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-05/0.4401, allocations: 23.97 kB / 1.242 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.4407, allocations: 320.1 kB / 1.242 GB, free: 2.875 MB / 0.9981 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.001797/0.4425, allocations: 1.101 MB / 1.243 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.443, allocations: 198.4 kB / 1.243 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.4432, allocations: 84.75 kB / 1.243 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005267/0.4437, allocations: 453.5 kB / 1.244 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4438, allocations: 46.55 kB / 1.244 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.4438, allocations: 0 / 1.244 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0006721/0.4444, allocations: 261.6 kB / 1.244 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4445, allocations: 55.41 kB / 1.244 GB, free: 492 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.4447, allocations: 203.2 kB / 1.244 GB, free: 276 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.4447, allocations: 29.64 kB / 1.244 GB, free: 240 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.4448, allocations: 148 kB / 1.245 GB, free: 88 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.4449, allocations: 67 kB / 1.245 GB, free: 20 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.445, allocations: 57.61 kB / 1.245 GB, free: 15.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4451, allocations: 326.8 kB / 1.245 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4452, allocations: 72.22 kB / 1.245 GB, free: 15.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.4454, allocations: 164.7 kB / 1.245 GB, free: 15.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.4457, allocations: 243 kB / 1.246 GB, free: 15.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4457, allocations: 3.938 kB / 1.246 GB, free: 15.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005114/0.4462, allocations: 285.1 kB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4463, allocations: 11.94 kB / 1.246 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4463, allocations: 0 / 1.246 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.4463, allocations: 7.938 kB / 1.246 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.4466, allocations: 59.92 kB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.4466, allocations: 11.98 kB / 1.246 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.4468, allocations: 35.91 kB / 1.246 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.4468, allocations: 16 kB / 1.246 GB, free: 14.65 MB / 1.014 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.0001486/0.447, allocations: 136.3 kB / 1.246 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4471, allocations: 23.8 kB / 1.246 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.4477, allocations: 279.2 kB / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.4477, allocations: 4 kB / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4477, allocations: 0 / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4477, allocations: 0 / 1.246 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.4485, allocations: 0.5964 MB / 1.247 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4485, allocations: 3.938 kB / 1.247 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.4487, allocations: 35.92 kB / 1.247 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.4487, allocations: 4 kB / 1.247 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.4488, allocations: 4 kB / 1.247 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4488, allocations: 0 / 1.247 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4488, allocations: 4 kB / 1.247 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.4493, allocations: 349.6 kB / 1.247 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.4495, allocations: 120.7 kB / 1.247 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.4495, allocations: 3.984 kB / 1.247 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.4498, allocations: 12 kB / 1.247 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.4498, allocations: 11.92 kB / 1.247 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.4498, allocations: 19.98 kB / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000137/0.45, allocations: 156.3 kB / 1.248 GB, free: 12.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.45, allocations: 0 / 1.248 GB, free: 12.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005273/0.4505, allocations: 115.9 kB / 1.248 GB, free: 12.69 MB / 1.014 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.001118/0.4517, allocations: 0.9871 MB / 1.249 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.452, allocations: 208.4 kB / 1.249 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.452, allocations: 4.062 kB / 1.249 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.4522, allocations: 111.7 kB / 1.249 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.4528, allocations: 91.97 kB / 1.249 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.4558, allocations: 2.49 MB / 1.252 GB, free: 8.613 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.4561, allocations: 0.7367 MB / 1.252 GB, free: 7.852 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.4563, allocations: 54.25 kB / 1.252 GB, free: 7.801 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4564, allocations: 59.42 kB / 1.252 GB, free: 7.742 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.4565, allocations: 0 / 1.252 GB, free: 7.742 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.4808, allocations: 7.738 MB / 1.26 GB, free: 140 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.267, allocations: 12.66 kB / 1.26 GB, free: 132 kB / 1.014 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches