Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_10_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.001178/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0013/0.0013, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5374, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002713/0.5402, allocations: 1.717 MB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.5409, allocations: 410.8 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.5409, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.541, allocations: 7.922 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.5411, allocations: 23.8 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.5415, allocations: 119.6 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.5416, allocations: 99.59 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.5417, allocations: 34.23 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/0.5418, allocations: 39.91 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.5419, allocations: 43.77 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.5419, allocations: 4 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.542, allocations: 63.89 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.542, allocations: 19.92 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.5421, allocations: 43.78 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.5423, allocations: 123.6 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5423, allocations: 4 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5423, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.5423, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 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.0005667/0.5429, allocations: 419.1 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5429, allocations: 8.031 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.543, allocations: 38.75 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.5432, allocations: 28.81 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.5434, allocations: 196.1 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.5435, allocations: 34.27 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.5435, allocations: 8.375 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.5438, allocations: 105.9 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.5438, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5438, allocations: 7.984 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5438, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.544, allocations: 83.94 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.5447, allocations: 380.4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.5452, allocations: 134.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.5453, allocations: 48.81 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.5454, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.5454, allocations: 30.56 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.5454, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003942/0.5458, allocations: 133.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.5458, allocations: 59.28 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5459, allocations: 140.1 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.546, allocations: 25.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.546, allocations: 108 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.5461, allocations: 23.64 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.5461, allocations: 25.72 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5462, allocations: 322.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.5463, allocations: 23.98 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.5464, allocations: 45.69 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.5466, allocations: 77.67 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5467, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002548/0.5469, allocations: 113.5 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5469, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5469, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.547, allocations: 7.938 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.5471, allocations: 15.98 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5471, allocations: 7.969 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-05/0.5472, allocations: 15.89 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.5472, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 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 7.407e-05/0.5473, allocations: 118.3 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.5473, allocations: 7.906 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.5474, allocations: 12.72 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5474, allocations: 3.938 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5474, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5474, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.5476, allocations: 205.6 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5476, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.5477, allocations: 19.98 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5477, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.5477, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5477, allocations: 4.484 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5477, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.548, allocations: 211.3 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.5481, allocations: 84.95 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.5481, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.5483, allocations: 23.86 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.5483, allocations: 7.984 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.5483, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.5484, allocations: 104.7 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5484, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002392/0.5486, allocations: 24 kB / 1.023 GB, free: 12.25 MB / 0.7794 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.0005159/0.5492, allocations: 0.7357 MB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.5494, allocations: 75.95 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5494, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.5495, allocations: 39.91 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.5499, allocations: 23.92 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.5516, allocations: 1.583 MB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.5519, allocations: 0.6926 MB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.552, allocations: 12.66 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.552, allocations: 23.44 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.552, allocations: 0 / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.5634, allocations: 2.473 MB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.5636, allocations: 223.7 kB / 1.028 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.313, allocations: 0 / 1.028 GB, free: 6.336 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches