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.005288/0.005288, allocations: 103.2 kB / 15.73 MB, free: 6.035 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.001314/0.001314, allocations: 194.7 kB / 16.68 MB, free: 5.953 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.349/1.349, 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 9.1.3-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7192, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002189/0.7214, allocations: 1.661 MB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005466/0.722, allocations: 407.5 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.7221, allocations: 1.469 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.898e-05/0.7222, allocations: 11.58 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.7222, allocations: 24.73 kB / 1.089 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.7226, allocations: 122 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.7227, allocations: 105.2 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.7228, allocations: 47.2 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.7229, allocations: 44.72 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.723, allocations: 44.02 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.723, allocations: 7.781 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.7231, allocations: 61.53 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.7231, allocations: 20.97 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.7232, allocations: 49.8 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.7234, allocations: 130 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7234, allocations: 0 / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7234, allocations: 5.125 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7234, allocations: 0 / 1.09 GB, free: 3.539 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.0004464/0.7239, allocations: 410.2 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.7239, allocations: 9.438 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.7239, allocations: 43.12 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.7242, allocations: 31.39 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.7243, allocations: 204.8 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.7244, allocations: 36.56 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.7244, allocations: 5.531 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.7246, allocations: 103.7 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.7247, allocations: 0.7969 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.7247, allocations: 5.031 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7247, allocations: 2.156 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.7249, allocations: 82.86 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.7255, allocations: 382.4 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.726, allocations: 133 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.7261, allocations: 43.95 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.7261, allocations: 0 / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.7261, allocations: 40.53 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.7261, allocations: 0 / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003905/0.7265, allocations: 137.9 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.7266, allocations: 56.89 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.7266, allocations: 140.7 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.7267, allocations: 26.64 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.7267, allocations: 102.4 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.7267, allocations: 28.47 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.7268, allocations: 19.97 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.7268, allocations: 324.5 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.7269, allocations: 29.88 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.727, allocations: 43.5 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.7272, allocations: 79.56 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.7272, allocations: 7.938 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002382/0.7275, allocations: 108 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.7275, allocations: 5.562 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7275, allocations: 1.641 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.7275, allocations: 4.75 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.7276, allocations: 20.94 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.7276, allocations: 1.188 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.7277, allocations: 16.08 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.7277, allocations: 2.156 kB / 1.093 GB, free: 1.434 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 5.212e-05/0.7278, allocations: 115.6 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.7278, allocations: 8.828 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.7279, allocations: 15.45 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7279, allocations: 4.875 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7279, allocations: 0.7969 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7279, allocations: 1.125 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.728, allocations: 194.5 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.728, allocations: 12.55 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.7281, allocations: 15.33 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7282, allocations: 0.7188 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.7282, allocations: 5.328 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.7282, allocations: 4.688 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7282, allocations: 0 / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.7284, allocations: 209.8 kB / 1.093 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.7285, allocations: 87.77 kB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.7285, allocations: 1.484 kB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.7286, allocations: 14.81 kB / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.7287, allocations: 8.781 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.7287, allocations: 3.5 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.7287, allocations: 110 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7287, allocations: 0.5 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002293/0.729, allocations: 20.78 kB / 1.093 GB, free: 0.707 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.0004259/0.7294, allocations: 0.7386 MB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.7297, allocations: 75.08 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7297, allocations: 4.062 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.7298, allocations: 48.61 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.7301, allocations: 24.94 kB / 1.094 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.7317, allocations: 1.537 MB / 1.096 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.7319, allocations: 0.6945 MB / 1.097 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.452e-05/0.732, allocations: 12.03 kB / 1.097 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.732, allocations: 26.09 kB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.732, allocations: 0 / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.7561, allocations: 2.731 MB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.899/9.656, allocations: 13.97 kB / 1.099 GB, free: 13.49 MB / 0.8731 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