Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_TDewPoi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001176/0.001176, allocations: 199.3 kB / 16.14 MB, free: 6.648 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.5608, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002335/0.5632, allocations: 1.331 MB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.5646, allocations: 0.9044 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.514e-05/0.5646, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.5647, allocations: 3.984 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.5647, allocations: 3.984 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.5653, allocations: 152.8 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.5654, allocations: 19.88 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.5654, allocations: 11.92 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.936e-05/0.5654, allocations: 4 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.5655, allocations: 8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.5655, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.5658, allocations: 191.8 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.5659, allocations: 3.984 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.5659, allocations: 11.94 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.5662, allocations: 146 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5662, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5662, allocations: 7.875 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.5662, allocations: 0 / 1.019 GB, free: 15.97 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003618/0.5666, allocations: 367.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5666, allocations: 8.031 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.5666, allocations: 34.75 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.5668, allocations: 8.922 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.5669, allocations: 160.4 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.5669, allocations: 384 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.5669, allocations: 11.92 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.5671, allocations: 41.67 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.5671, allocations: 8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5671, allocations: 4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.5671, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.5671, allocations: 19.92 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.5673, allocations: 153.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.5683, allocations: 138.5 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.5683, allocations: 16.86 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.5685, allocations: 81.11 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.5685, allocations: 46.48 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.5685, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002033/0.5687, allocations: 65.53 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.5688, allocations: 51.41 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.5688, allocations: 93.86 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.5689, allocations: 29.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.5689, allocations: 88.12 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.5689, allocations: 7.891 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.569, allocations: 21.72 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.5691, allocations: 310.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.5691, allocations: 8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.5691, allocations: 12.11 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.5692, allocations: 24.86 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5692, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.557e-05/0.5693, allocations: 65.47 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5693, allocations: 9.406 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5693, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.5693, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.5694, allocations: 7.984 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5694, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.5694, allocations: 7.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.5695, allocations: 4 kB / 1.021 GB, free: 13.85 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.847e-05/0.5695, allocations: 114.3 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.5695, allocations: 4.328 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.5698, allocations: 77.05 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5698, allocations: 7.984 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5698, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5698, allocations: 7.984 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.5699, allocations: 161.6 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.57, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.57, allocations: 8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.57, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.57, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.57, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.57, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.5702, allocations: 105 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.5702, allocations: 85 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.5702, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.355e-05/0.5703, allocations: 8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.5703, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.5703, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.5704, allocations: 79.28 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5704, allocations: 4.094 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002647/0.5706, allocations: 47.98 kB / 1.022 GB, free: 13.05 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 (5): * Single equations (assignments): 5 * 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.0005922/0.5712, allocations: 0.6775 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.512e-05/0.5714, allocations: 35.92 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5714, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.5714, allocations: 16 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.5716, allocations: 13.88 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.572, allocations: 181.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.5722, allocations: 0.6751 MB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.752e-05/0.5723, allocations: 15.98 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.5723, allocations: 7.438 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5723, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.5832, allocations: 1.808 MB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.5834, allocations: 263.4 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.268, allocations: 0 / 1.026 GB, free: 9.344 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches