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.001111/0.001111, allocations: 108 kB / 15.6 MB, free: 132 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.001167/0.001167, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.323/1.323, 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.47/2.47, allocations: 437.1 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.89 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.474, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002068/0.4761, allocations: 1.264 MB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004768/0.4766, allocations: 291 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.4766, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.4767, allocations: 3.984 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.4767, allocations: 11.94 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.477, allocations: 43.75 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.739e-05/0.477, allocations: 19.86 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.4771, allocations: 8 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.4771, allocations: 4 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.62e-05/0.4771, allocations: 7.969 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.4772, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.4773, allocations: 55.95 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.4773, allocations: 3.938 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.4773, allocations: 12 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.4774, allocations: 46.14 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4775, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4775, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.4775, allocations: 0 / 1.019 GB, free: 0.6602 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.0003041/0.4778, allocations: 343.4 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.4778, allocations: 12.03 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.439e-05/0.4778, allocations: 30.75 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.478, allocations: 20.92 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/0.4781, allocations: 168.3 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4782, allocations: 4.453 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.4782, allocations: 384 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.067e-05/0.4783, allocations: 42.25 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4783, allocations: 3.938 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.4783, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.4783, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.4784, allocations: 15.98 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.4785, allocations: 161.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.4802, allocations: 270.4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.4803, allocations: 24.84 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.4803, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.4803, allocations: 34.56 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4803, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001476/0.4805, allocations: 61.62 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.4805, allocations: 59.28 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.101e-05/0.4806, allocations: 97.86 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.4806, allocations: 25.83 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 1.949e-05/0.4806, allocations: 84.14 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.4807, allocations: 15.73 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.4807, allocations: 25.66 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.4808, allocations: 310.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.4808, allocations: 12 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.4808, allocations: 7.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.4809, allocations: 28.86 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4809, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.605e-05/0.481, allocations: 57.62 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.481, allocations: 11.94 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.481, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.481, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.4811, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4811, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.4811, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.4811, allocations: 0 / 1.021 GB, free: 14.52 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 6.07e-05/0.4812, allocations: 109.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.4812, allocations: 15.84 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.4812, allocations: 7.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4812, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4812, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.4813, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.899e-05/0.4813, allocations: 157.7 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4814, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.4814, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4814, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.4814, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4814, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4814, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.874e-05/0.4815, allocations: 85.38 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.4816, allocations: 81.09 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4816, allocations: 7.875 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.4817, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.4817, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.4817, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.619e-05/0.4817, allocations: 83.27 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.4817, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001712/0.4819, allocations: 8 kB / 1.022 GB, free: 13.85 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.0002894/0.4822, allocations: 0.6163 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.422e-05/0.4823, allocations: 24.08 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4823, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.4823, allocations: 15.94 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.4825, allocations: 17.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.4829, allocations: 156.2 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.4831, allocations: 0.6768 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.68e-05/0.4832, allocations: 7.984 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.4832, allocations: 7.438 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.4832, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.828/2.311, allocations: 1.298 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/14.64, allocations: 8.891 kB / 1.024 GB, free: 11.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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