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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009339/0.0009339, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005235/0.005236, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.087/2.087, allocations: 390.9 MB / 0.6664 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 11.98 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5078, allocations: 142.4 MB / 0.9552 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001636/0.5095, allocations: 1.373 MB / 0.9565 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006817/0.5102, allocations: 403.9 kB / 0.9569 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.5103, allocations: 1.344 kB / 0.9569 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/0.5104, allocations: 11.86 kB / 0.9569 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.169e-05/0.5105, allocations: 18.62 kB / 0.9569 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.5108, allocations: 111 kB / 0.957 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.511, allocations: 108.8 kB / 0.9571 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.5111, allocations: 39.89 kB / 0.9572 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.916e-05/0.5112, allocations: 34.27 kB / 0.9572 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.5112, allocations: 30.73 kB / 0.9572 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.5113, allocations: 7.781 kB / 0.9572 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.5114, allocations: 57.38 kB / 0.9573 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.5114, allocations: 12 kB / 0.9573 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.5114, allocations: 68 kB / 0.9574 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.5116, allocations: 122.9 kB / 0.9575 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5116, allocations: 0 / 0.9575 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5116, allocations: 0 / 0.9575 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5116, allocations: 1.781 kB / 0.9575 GB, free: 6.039 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.0004198/0.5121, allocations: 403.1 kB / 0.9579 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5121, allocations: 9.625 kB / 0.9579 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.5121, allocations: 41.5 kB / 0.9579 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.5123, allocations: 38.59 kB / 0.958 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.5125, allocations: 192.4 kB / 0.9581 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.5125, allocations: 33.14 kB / 0.9582 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.5126, allocations: 12.48 kB / 0.9582 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.5128, allocations: 115.2 kB / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5128, allocations: 0 / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5128, allocations: 9.375 kB / 0.9583 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5128, allocations: 1.375 kB / 0.9583 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.5131, allocations: 88.34 kB / 0.9584 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.5136, allocations: 396.9 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.5141, allocations: 137.1 kB / 0.9589 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.5142, allocations: 45.62 kB / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.5142, allocations: 0 / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.5143, allocations: 36 kB / 0.959 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.5143, allocations: 1.406 kB / 0.959 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003914/0.5147, allocations: 153.5 kB / 0.9591 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.5147, allocations: 60.75 kB / 0.9592 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.5148, allocations: 135 kB / 0.9593 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.5148, allocations: 25.7 kB / 0.9593 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.5148, allocations: 96.11 kB / 0.9594 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.5148, allocations: 26.86 kB / 0.9594 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.5149, allocations: 19.88 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.5149, allocations: 316.8 kB / 0.9598 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.515, allocations: 36.8 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5151, allocations: 52.89 kB / 0.9599 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.5153, allocations: 99.44 kB / 0.9599 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5153, allocations: 0 / 0.9599 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002392/0.5156, allocations: 122 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.5156, allocations: 13.44 kB / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5156, allocations: 0 / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5156, allocations: 5.312 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5157, allocations: 24.42 kB / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.5157, allocations: 0 / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.5158, allocations: 16.14 kB / 0.9601 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.5158, allocations: 5.375 kB / 0.9601 GB, free: 3.711 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.168e-05/0.5159, allocations: 118 kB / 0.9602 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.5159, allocations: 8.031 kB / 0.9602 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.516, allocations: 15.45 kB / 0.9603 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.516, allocations: 3.938 kB / 0.9603 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.516, allocations: 1.375 kB / 0.9603 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.516, allocations: 0 / 0.9603 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.5161, allocations: 199.5 kB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5161, allocations: 1.375 kB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.5162, allocations: 21.73 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5162, allocations: 1.375 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.5162, allocations: 3.938 kB / 0.9605 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5163, allocations: 5.312 kB / 0.9605 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5163, allocations: 0 / 0.9605 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.5165, allocations: 213 kB / 0.9607 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.5165, allocations: 87.7 kB / 0.9608 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.5166, allocations: 1.375 kB / 0.9608 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.5167, allocations: 22.92 kB / 0.9608 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.5167, allocations: 5.359 kB / 0.9608 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.5168, allocations: 2.75 kB / 0.9608 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.5168, allocations: 108.7 kB / 0.9609 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5168, allocations: 0 / 0.9609 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002273/0.517, allocations: 28.27 kB / 0.9609 GB, free: 2.938 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.0003744/0.5174, allocations: 0.7408 MB / 0.9617 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.5177, allocations: 87.66 kB / 0.9617 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5177, allocations: 4.062 kB / 0.9617 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.5178, allocations: 42.59 kB / 0.9618 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.5181, allocations: 40.98 kB / 0.9618 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.5195, allocations: 1.596 MB / 0.9634 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.608e-05/0.5197, allocations: 0.701 MB / 0.9641 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.398e-05/0.5197, allocations: 6.016 kB / 0.9641 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.5198, allocations: 28.23 kB / 0.9641 GB, free: 8 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5198, allocations: 7.938 kB / 0.9641 GB, free: 0 / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.5348, allocations: 2.398 MB / 0.9665 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.535, allocations: 225.3 kB / 0.9667 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.104, allocations: 4 kB / 0.9667 GB, free: 14.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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