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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001273/0.001273, 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.0009876/0.0009876, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.324/2.324, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 63.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6096/0.6111, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002968/0.6141, allocations: 1.651 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.6149, allocations: 402.7 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.615, allocations: 3.938 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.6152, allocations: 7.875 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.6152, allocations: 27.78 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.6157, allocations: 131.4 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.6159, allocations: 111.6 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.616, allocations: 42.22 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.6161, allocations: 35.92 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.6161, allocations: 39.78 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.6162, allocations: 8 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.6163, allocations: 67.94 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.6164, allocations: 20 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.6164, allocations: 47.7 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.6166, allocations: 119.6 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6166, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6166, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.6167, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 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.0005089/0.6172, allocations: 423.1 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.6172, allocations: 8.031 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.6172, allocations: 42.73 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.6175, allocations: 24.83 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.6176, allocations: 196.1 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.6177, allocations: 38.27 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.6177, allocations: 8.375 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.618, allocations: 109.8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.618, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.618, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.618, allocations: 3.984 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.6182, allocations: 83.88 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.6188, allocations: 380.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.6193, allocations: 134.5 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.6195, allocations: 44.88 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.6195, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.6195, allocations: 30.56 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.6195, allocations: 4 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003936/0.6199, allocations: 141.6 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.62, allocations: 59.28 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.6201, allocations: 136.2 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6201, allocations: 25.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.6201, allocations: 108 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.6202, allocations: 23.66 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.6202, allocations: 17.72 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.6203, allocations: 326.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.6204, allocations: 27.97 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.6205, allocations: 42.02 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.6207, allocations: 85.95 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6208, allocations: 3.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002486/0.621, allocations: 109.6 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.621, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.621, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6211, allocations: 7.938 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.6212, allocations: 19.92 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6212, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.6213, allocations: 19.92 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.6213, allocations: 4 kB / 1.023 GB, free: 12.93 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.577e-05/0.6214, allocations: 113.8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.6214, allocations: 7.906 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.6214, allocations: 16.7 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6214, allocations: 3.938 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6214, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6215, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.6216, allocations: 197.6 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6217, allocations: 11.98 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.6218, allocations: 12 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6218, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.6218, allocations: 3.984 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.6218, allocations: 3.938 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6218, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.6221, allocations: 211.3 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.6221, allocations: 84.95 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.6222, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.6223, allocations: 23.86 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.6224, allocations: 7.984 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.6224, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.6224, allocations: 109.4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6224, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002334/0.6227, allocations: 20 kB / 1.023 GB, free: 12.02 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.0005031/0.6232, allocations: 0.7357 MB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.6235, allocations: 87.86 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6235, allocations: 4.062 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.6236, allocations: 31.98 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.6239, allocations: 32.44 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.6255, allocations: 1.538 MB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.6258, allocations: 0.704 MB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.206e-05/0.6259, allocations: 16.66 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.6259, allocations: 27.42 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6259, allocations: 0 / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.623/3.249, allocations: 2.678 MB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.733/11.98, allocations: 9.828 kB / 1.029 GB, free: 6.137 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