Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001096/0.001096, 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.001219/0.001219, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.545/2.545, allocations: 437.1 MB / 0.7104 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.91 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.53, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002316/0.5324, allocations: 1.256 MB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005135/0.5329, allocations: 287.1 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.5329, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.5329, allocations: 7.938 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.533, allocations: 7.984 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.5333, allocations: 47.69 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.644e-05/0.5333, allocations: 19.88 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.5334, allocations: 4 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.5334, allocations: 7.984 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.5334, allocations: 11.98 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.5335, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.5336, allocations: 55.89 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.5336, allocations: 8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.5336, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.5338, allocations: 54.06 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5338, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5338, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5338, allocations: 4 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003415/0.5341, allocations: 335.4 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5342, allocations: 12.03 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.5342, allocations: 34.75 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.5344, allocations: 28.91 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.5345, allocations: 160.4 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.5345, allocations: 4.359 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.5346, allocations: 4.375 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.042e-05/0.5347, allocations: 42.19 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.5347, allocations: 3.938 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5347, allocations: 4 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.5347, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.5347, allocations: 15.98 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.5349, allocations: 161.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.5367, allocations: 266.4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.5368, allocations: 24.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.5368, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.5368, allocations: 30.56 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.5368, allocations: 3.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001481/0.537, allocations: 65.62 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.537, allocations: 51.41 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.5371, allocations: 101.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.5371, allocations: 25.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.5372, allocations: 80.14 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.5372, allocations: 19.75 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.5372, allocations: 13.72 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.5373, allocations: 318.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.5374, allocations: 11.92 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.5374, allocations: 8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.5374, allocations: 24.98 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5374, allocations: 4 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.606e-05/0.5375, allocations: 53.69 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.5375, allocations: 7.938 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.5376, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5376, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.5376, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.5376, allocations: 11.92 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.5377, allocations: 336 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.5377, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.135e-05/0.5378, allocations: 121.3 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.5378, allocations: 11.84 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.5378, allocations: 11.48 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5378, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5378, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5378, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.5379, allocations: 157.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5379, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.538, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.538, allocations: 3.938 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.538, allocations: 7.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.538, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.538, allocations: 8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.457e-05/0.5381, allocations: 85 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.5382, allocations: 77.11 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.5382, allocations: 3.938 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.5383, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.5383, allocations: 3.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.5383, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.807e-05/0.5383, allocations: 79.28 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5383, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000184/0.5385, allocations: 8 kB / 1.022 GB, free: 13.96 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 (4): * Single equations (assignments): 4 * 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.0003478/0.5389, allocations: 0.6125 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.539, allocations: 27.92 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.539, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.171e-05/0.539, allocations: 12 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.5392, allocations: 17.53 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.5396, allocations: 172.1 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.5399, allocations: 0.6805 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.413e-05/0.5399, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.5399, allocations: 7.438 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5399, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.5569, allocations: 1.286 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.638, allocations: 12.75 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches