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.004691/0.004691, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001103/0.001103, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.277/2.277, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 58.12 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2637, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002862/0.2666, allocations: 1.655 MB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.2674, allocations: 392.2 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.2675, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.906e-05/0.2676, allocations: 19.86 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.075e-05/0.2677, allocations: 19.8 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.2681, allocations: 117.9 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.2683, allocations: 111.6 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2684, allocations: 48.17 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.277e-05/0.2685, allocations: 35.92 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.2686, allocations: 43.78 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2686, allocations: 8 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2688, allocations: 55.95 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.2688, allocations: 31.89 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.2689, allocations: 43.8 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.2692, allocations: 139.4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2692, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2692, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.2692, allocations: 0 / 1.09 GB, free: 15.27 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007258/0.2699, allocations: 418.9 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.27, allocations: 11.97 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.2701, allocations: 38.75 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.2704, allocations: 32.86 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.2707, allocations: 200.2 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.833e-05/0.2708, allocations: 30.27 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.2708, allocations: 8.375 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.2711, allocations: 105.9 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2712, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.2712, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2712, allocations: 8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.2715, allocations: 79.94 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.2723, allocations: 396.4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.2728, allocations: 130.5 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.273, allocations: 40.88 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.273, allocations: 4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.273, allocations: 30.56 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 4.158e-06/0.273, allocations: 4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004339/0.2735, allocations: 133.6 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2735, allocations: 55.34 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2736, allocations: 145.1 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2737, allocations: 33.64 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.2737, allocations: 104.2 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.2738, allocations: 27.78 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.2738, allocations: 21.72 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2739, allocations: 322.8 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.274, allocations: 27.97 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.2742, allocations: 41.7 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2744, allocations: 78.14 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2744, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002685/0.2747, allocations: 121.5 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2747, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2747, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2747, allocations: 3.938 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2748, allocations: 23.92 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2749, allocations: 4.031 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.2749, allocations: 15.94 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.275, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 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 8.543e-05/0.275, allocations: 117.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.2751, allocations: 7.953 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.2751, allocations: 16.7 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.2752, allocations: 7.938 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2752, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2752, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.2754, allocations: 201.6 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2754, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.2756, allocations: 16 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2756, allocations: 3.984 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2756, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2756, allocations: 3.938 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2756, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.2759, allocations: 203.4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.276, allocations: 89 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.276, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2762, allocations: 19.92 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.2763, allocations: 3.984 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2763, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.2764, allocations: 107.2 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2764, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002561/0.2766, allocations: 24 kB / 1.093 GB, free: 11.46 MB / 0.8575 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.0006515/0.2773, allocations: 0.7319 MB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.2776, allocations: 75.94 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2776, allocations: 0 / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2777, allocations: 39.92 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.278, allocations: 38.14 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.2799, allocations: 1.542 MB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.2801, allocations: 0.6963 MB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.577e-05/0.2802, allocations: 12.67 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.2803, allocations: 27.38 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2803, allocations: 0 / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.3009, allocations: 2.73 MB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.778, allocations: 13.59 kB / 1.099 GB, free: 5.551 MB / 0.8575 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