Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_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.007529/0.007529, allocations: 101 kB / 15.73 MB, free: 6.059 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.002103/0.002103, allocations: 192.5 kB / 16.67 MB, free: 5.969 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: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.89 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.685, allocations: 159.2 MB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2134/0.8984, allocations: 149.1 MB / 1.366 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006513/0.905, allocations: 3.606 MB / 1.369 GB, free: 8.684 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.9051, allocations: 4 kB / 1.369 GB, free: 8.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.9055, allocations: 63.62 kB / 1.369 GB, free: 8.617 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.906, allocations: 139.2 kB / 1.37 GB, free: 8.48 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.9097, allocations: 1.021 MB / 1.371 GB, free: 7.457 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.9103, allocations: 323.7 kB / 1.371 GB, free: 7.137 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.9104, allocations: 9.562 kB / 1.371 GB, free: 7.129 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.911, allocations: 187.2 kB / 1.371 GB, free: 6.945 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.9113, allocations: 127.6 kB / 1.371 GB, free: 6.82 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.9114, allocations: 12 kB / 1.371 GB, free: 6.809 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.915, allocations: 1.227 MB / 1.372 GB, free: 5.578 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.9151, allocations: 67.8 kB / 1.372 GB, free: 5.512 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.9154, allocations: 107.5 kB / 1.373 GB, free: 5.406 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.9175, allocations: 0.6345 MB / 1.373 GB, free: 4.773 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9175, allocations: 0 / 1.373 GB, free: 4.773 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9175, allocations: 0 / 1.373 GB, free: 4.773 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.9176, allocations: 0 / 1.373 GB, free: 4.773 MB / 1.092 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.001625/0.9192, allocations: 0.6035 MB / 1.374 GB, free: 4.121 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.9193, allocations: 12.03 kB / 1.374 GB, free: 4.109 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.137e-05/0.9194, allocations: 58.72 kB / 1.374 GB, free: 4.043 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.9215, allocations: 132.7 kB / 1.374 GB, free: 3.914 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.9219, allocations: 223.8 kB / 1.374 GB, free: 3.656 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.9219, allocations: 12.38 kB / 1.374 GB, free: 3.645 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.922, allocations: 23.92 kB / 1.374 GB, free: 3.621 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008897/0.9229, allocations: 334.3 kB / 1.374 GB, free: 3.273 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.9229, allocations: 3.938 kB / 1.374 GB, free: 3.27 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.923, allocations: 8 kB / 1.374 GB, free: 3.262 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.923, allocations: 19.98 kB / 1.375 GB, free: 3.242 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/0.9239, allocations: 320.1 kB / 1.375 GB, free: 2.93 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.00224/0.9262, allocations: 1.118 MB / 1.376 GB, free: 1.723 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/0.9269, allocations: 186.5 kB / 1.376 GB, free: 1.531 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.9271, allocations: 88.64 kB / 1.376 GB, free: 1.441 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008488/0.928, allocations: 457.5 kB / 1.377 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.928, allocations: 38.56 kB / 1.377 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of pre-optimization done (n=21): time 2.345e-06/0.9281, allocations: 0 / 1.377 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of matching and sorting (n=21): time 0.001064/0.9291, allocations: 263.3 kB / 1.377 GB, free: 0.5938 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.9292, allocations: 55.41 kB / 1.377 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.9295, allocations: 207.1 kB / 1.377 GB, free: 320 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.9296, allocations: 37.7 kB / 1.377 GB, free: 276 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.9297, allocations: 140.3 kB / 1.377 GB, free: 132 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/0.9299, allocations: 83.3 kB / 1.377 GB, free: 48 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.93, allocations: 53.66 kB / 1.377 GB, free: 15.99 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.9302, allocations: 326.8 kB / 1.378 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.9305, allocations: 72.22 kB / 1.378 GB, free: 15.59 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.9308, allocations: 156.2 kB / 1.378 GB, free: 15.4 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.9313, allocations: 252.4 kB / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.9314, allocations: 8.047 kB / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000903/0.9323, allocations: 286.9 kB / 1.378 GB, free: 14.82 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.9323, allocations: 8 kB / 1.379 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.9323, allocations: 7.984 kB / 1.379 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.9324, allocations: 8.312 kB / 1.379 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.9328, allocations: 59.92 kB / 1.379 GB, free: 14.74 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.9328, allocations: 4 kB / 1.379 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.9332, allocations: 27.78 kB / 1.379 GB, free: 14.71 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.9332, allocations: 19.98 kB / 1.379 GB, free: 14.69 MB / 1.107 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.0001874/0.9334, allocations: 137.7 kB / 1.379 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.9337, allocations: 27.84 kB / 1.379 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/0.9344, allocations: 275.2 kB / 1.379 GB, free: 14.24 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.9344, allocations: 8 kB / 1.379 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9344, allocations: 3.938 kB / 1.379 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.9345, allocations: 0 / 1.379 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.9357, allocations: 0.5856 MB / 1.38 GB, free: 13.58 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9357, allocations: 4 kB / 1.38 GB, free: 13.58 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.936, allocations: 27.98 kB / 1.38 GB, free: 13.55 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.936, allocations: 7.938 kB / 1.38 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.936, allocations: 4 kB / 1.38 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.9361, allocations: 8.062 kB / 1.38 GB, free: 13.53 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9361, allocations: 0 / 1.38 GB, free: 13.53 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.9369, allocations: 345.8 kB / 1.38 GB, free: 13.17 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.9371, allocations: 120.9 kB / 1.38 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.9372, allocations: 7.984 kB / 1.38 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.9376, allocations: 16 kB / 1.38 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.9377, allocations: 15.92 kB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.9377, allocations: 15.98 kB / 1.38 GB, free: 12.98 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001935/0.9379, allocations: 149.4 kB / 1.38 GB, free: 12.84 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9379, allocations: 0 / 1.38 GB, free: 12.84 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008298/0.9388, allocations: 119.8 kB / 1.38 GB, free: 12.72 MB / 1.107 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.001697/0.9405, allocations: 0.9957 MB / 1.381 GB, free: 11.69 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005951/0.9411, allocations: 203.7 kB / 1.382 GB, free: 11.49 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9411, allocations: 3.938 kB / 1.382 GB, free: 11.49 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.9414, allocations: 105.4 kB / 1.382 GB, free: 11.39 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.9424, allocations: 96.72 kB / 1.382 GB, free: 11.29 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.9471, allocations: 2.498 MB / 1.384 GB, free: 8.641 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.9476, allocations: 0.7367 MB / 1.385 GB, free: 7.879 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000412/0.948, allocations: 62.19 kB / 1.385 GB, free: 7.816 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.9482, allocations: 55.42 kB / 1.385 GB, free: 7.762 MB / 1.107 GB Notification: Performance of SimCode: time 6.01e-07/0.9482, allocations: 0 / 1.385 GB, free: 7.762 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.9877, allocations: 7.743 MB / 1.393 GB, free: 152 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/9.408, allocations: 11.25 kB / 1.393 GB, free: 144 kB / 1.107 GB (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Media_Examples_AirProperties.fmu > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches