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.001347/0.001347, allocations: 108 kB / 15.61 MB, free: 152 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.001327/0.001327, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.36/1.36, 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 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5667, allocations: 140.4 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1452/0.712, allocations: 149.1 MB / 1.095 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.7159, allocations: 3.617 MB / 1.099 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.7161, allocations: 4 kB / 1.099 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.7164, allocations: 63.58 kB / 1.099 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.7168, allocations: 131.3 kB / 1.099 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.7191, allocations: 1.012 MB / 1.1 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.7195, allocations: 315.8 kB / 1.1 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.7195, allocations: 21.53 kB / 1.1 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.7199, allocations: 183.2 kB / 1.101 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.72, allocations: 127.5 kB / 1.101 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.7201, allocations: 12 kB / 1.101 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.722, allocations: 1.22 MB / 1.102 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.7221, allocations: 71.78 kB / 1.102 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.7222, allocations: 115.5 kB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.7233, allocations: 0.6335 MB / 1.103 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7233, allocations: 0 / 1.103 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7233, allocations: 0 / 1.103 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.7233, allocations: 0 / 1.103 GB, free: 4.691 MB / 0.8575 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.001038/0.7244, allocations: 0.585 MB / 1.103 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.7244, allocations: 12.03 kB / 1.103 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.7245, allocations: 58.72 kB / 1.103 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.7257, allocations: 132.6 kB / 1.103 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.726, allocations: 227.7 kB / 1.104 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.726, allocations: 20.38 kB / 1.104 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.726, allocations: 16 kB / 1.104 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.7266, allocations: 338.1 kB / 1.104 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7266, allocations: 3.938 kB / 1.104 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.7266, allocations: 8 kB / 1.104 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.7266, allocations: 12 kB / 1.104 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.7272, allocations: 328.1 kB / 1.104 GB, free: 2.863 MB / 0.8575 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.001489/0.7287, allocations: 1.113 MB / 1.105 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.7292, allocations: 191.9 kB / 1.106 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.7293, allocations: 80.75 kB / 1.106 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.7298, allocations: 457.5 kB / 1.106 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.7299, allocations: 42.56 kB / 1.106 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.7299, allocations: 0 / 1.106 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0006479/0.7305, allocations: 263 kB / 1.106 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.7306, allocations: 55.39 kB / 1.106 GB, free: 472 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.7308, allocations: 199.2 kB / 1.107 GB, free: 260 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.7308, allocations: 33.7 kB / 1.107 GB, free: 220 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.7309, allocations: 143.9 kB / 1.107 GB, free: 72 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.487e-05/0.7309, allocations: 75.02 kB / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.731, allocations: 53.7 kB / 1.107 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7312, allocations: 330.8 kB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.7313, allocations: 72.22 kB / 1.107 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.7315, allocations: 156.8 kB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.7318, allocations: 244.3 kB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7318, allocations: 7.938 kB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005069/0.7324, allocations: 283.9 kB / 1.108 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7324, allocations: 8 kB / 1.108 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7324, allocations: 7.984 kB / 1.108 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.7324, allocations: 7.938 kB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.7327, allocations: 59.91 kB / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7327, allocations: 4 kB / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.7329, allocations: 28.06 kB / 1.108 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.733, allocations: 16 kB / 1.108 GB, free: 14.64 MB / 0.8731 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.0001173/0.7331, allocations: 137.8 kB / 1.108 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.7332, allocations: 23.8 kB / 1.108 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.7337, allocations: 293 kB / 1.109 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.7337, allocations: 7.984 kB / 1.109 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7337, allocations: 0 / 1.109 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7337, allocations: 4 kB / 1.109 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.7344, allocations: 0.5833 MB / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7345, allocations: 3.984 kB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.7347, allocations: 31.92 kB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.7347, allocations: 4 kB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.7347, allocations: 0 / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7347, allocations: 4 kB / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7347, allocations: 0 / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.7352, allocations: 348.9 kB / 1.109 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7353, allocations: 116.8 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.7354, allocations: 4 kB / 1.11 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.7356, allocations: 11.98 kB / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.7357, allocations: 23.92 kB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.7357, allocations: 8 kB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001201/0.7358, allocations: 156.3 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7359, allocations: 0 / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00046/0.7363, allocations: 112 kB / 1.11 GB, free: 12.69 MB / 0.8731 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.001006/0.7373, allocations: 1.011 MB / 1.111 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.7377, allocations: 216.5 kB / 1.111 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7377, allocations: 4 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.7379, allocations: 99.88 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.7385, allocations: 102 kB / 1.111 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.7413, allocations: 2.489 MB / 1.114 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.7416, allocations: 0.7367 MB / 1.114 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.7419, allocations: 62.23 kB / 1.114 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.742, allocations: 59.36 kB / 1.115 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.742, allocations: 7.938 kB / 1.115 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.7678, allocations: 7.671 MB / 1.122 GB, free: 148 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/8.107, allocations: 11.75 kB / 1.122 GB, free: 140 kB / 0.8731 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