Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001583/0.001583, 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.001631/0.001631, 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.239/2.239, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 72.09 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5665, allocations: 140.4 MB / 0.9497 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002353/0.5689, allocations: 1.659 MB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005537/0.5695, allocations: 394.5 kB / 0.9517 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.874e-05/0.5695, allocations: 1.094 kB / 0.9517 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.451e-05/0.5696, allocations: 13.23 kB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-05/0.5697, allocations: 18.77 kB / 0.9517 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.5701, allocations: 131.8 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.5702, allocations: 110.6 kB / 0.952 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.5703, allocations: 46.09 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.5704, allocations: 50.44 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.5704, allocations: 40.5 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.5704, allocations: 7.906 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.5706, allocations: 59.33 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.5706, allocations: 19.78 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.5707, allocations: 49.53 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.5708, allocations: 128.6 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5708, allocations: 0 / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5709, allocations: 0 / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5709, allocations: 5.219 kB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004625/0.5713, allocations: 426 kB / 0.9528 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5714, allocations: 9.938 kB / 0.9528 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.5714, allocations: 36.56 kB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.5716, allocations: 29.56 kB / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5718, allocations: 192.8 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.5718, allocations: 35.3 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.5719, allocations: 5.312 kB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.5721, allocations: 110.1 kB / 0.9532 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.5721, allocations: 1.281 kB / 0.9532 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.5721, allocations: 4 kB / 0.9532 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5721, allocations: 6.672 kB / 0.9532 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.5724, allocations: 81.72 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.5729, allocations: 384.5 kB / 0.9536 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.5734, allocations: 139.7 kB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.5736, allocations: 35.94 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.5736, allocations: 5.203 kB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.5736, allocations: 35.78 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.5736, allocations: 0 / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003843/0.574, allocations: 135.5 kB / 0.954 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.574, allocations: 56.44 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.5741, allocations: 136.2 kB / 0.9541 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.5741, allocations: 25.7 kB / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.5742, allocations: 104.9 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.5742, allocations: 26.61 kB / 0.9543 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.5742, allocations: 22.58 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.5743, allocations: 321.3 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.5744, allocations: 31.58 kB / 0.9546 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.5745, allocations: 44.28 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.5747, allocations: 81.02 kB / 0.9548 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5747, allocations: 3.938 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002354/0.5749, allocations: 111 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5749, allocations: 5.188 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.575, allocations: 1.062 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.575, allocations: 5.094 kB / 0.9549 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5751, allocations: 21.64 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5751, allocations: 1.219 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.5752, allocations: 12.39 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5752, allocations: 2.25 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.966e-05/0.5753, allocations: 117.5 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.5753, allocations: 12.69 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.5753, allocations: 13.92 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5753, allocations: 5.156 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5754, allocations: 1.25 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5754, allocations: 0 / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.5755, allocations: 204 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5755, allocations: 0 / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.5756, allocations: 23.86 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5756, allocations: 1.125 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.5756, allocations: 1.031 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5756, allocations: 3.938 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5757, allocations: 5.094 kB / 0.9553 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.5759, allocations: 198.9 kB / 0.9555 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.5759, allocations: 88.08 kB / 0.9556 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.576, allocations: 4 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.5761, allocations: 19.14 kB / 0.9556 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.5762, allocations: 10.42 kB / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.5762, allocations: 2.406 kB / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.5762, allocations: 105 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5762, allocations: 0 / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000242/0.5765, allocations: 17.09 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003804/0.5769, allocations: 0.7423 MB / 0.9564 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.5771, allocations: 78.11 kB / 0.9565 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5771, allocations: 1.344 kB / 0.9565 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.5772, allocations: 41.78 kB / 0.9566 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.5776, allocations: 26.52 kB / 0.9566 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.5789, allocations: 1.536 MB / 0.9581 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.059e-05/0.5791, allocations: 0.6956 MB / 0.9588 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.623e-05/0.5791, allocations: 11.72 kB / 0.9588 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.5792, allocations: 23.16 kB / 0.9588 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5792, allocations: 4 kB / 0.9588 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2881/0.8673, allocations: 2.699 MB / 0.9614 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/9.291, allocations: 5.062 kB / 0.9614 GB, free: 15.61 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches