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.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_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.009755/0.009755, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001694/0.001694, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.454/2.454, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 64.12 kB / 1.018 GB, free: 9.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8538, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002268/0.8561, allocations: 1.272 MB / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.8576, allocations: 0.8638 MB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.8576, allocations: 0 / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.8576, allocations: 4 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.8577, allocations: 7.922 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.8584, allocations: 204.4 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.243e-05/0.8585, allocations: 15.94 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.8585, allocations: 3.984 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.8586, allocations: 15.86 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.8586, allocations: 8 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.8586, allocations: 0 / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.859, allocations: 235.6 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.8591, allocations: 4 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.8591, allocations: 15.91 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.8594, allocations: 147.8 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8594, allocations: 3.938 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8594, allocations: 4 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.8594, allocations: 0 / 1.169 GB, free: 1.02 MB / 0.8887 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.0004497/0.8598, allocations: 351.6 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.8599, allocations: 12.62 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.8599, allocations: 30.75 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.8601, allocations: 12.83 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.8602, allocations: 160.4 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.8602, allocations: 8.375 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.8603, allocations: 7.938 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.8604, allocations: 41.69 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.8604, allocations: 3.938 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.8604, allocations: 0 / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8604, allocations: 0 / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.8605, allocations: 15.98 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.8607, allocations: 153.7 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.8617, allocations: 134.5 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.8617, allocations: 24.84 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.8619, allocations: 85.11 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.8619, allocations: 34.5 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.8619, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0002045/0.8621, allocations: 69.67 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.8622, allocations: 51.41 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.8622, allocations: 93.86 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.8623, allocations: 25.7 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.8623, allocations: 80.14 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.8623, allocations: 19.69 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.8624, allocations: 13.72 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8625, allocations: 315 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.8625, allocations: 12 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.8626, allocations: 12 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.8626, allocations: 33.06 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8626, allocations: 4 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.856e-05/0.8627, allocations: 53.61 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.8628, allocations: 11.94 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8628, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8628, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.8628, allocations: 8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.8629, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.8629, allocations: 4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.8629, allocations: 3.984 kB / 1.171 GB, free: 14.92 MB / 0.9044 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 0.0001027/0.863, allocations: 117.7 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.863, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.8633, allocations: 77.23 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.8634, allocations: 8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.8634, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.8634, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.8635, allocations: 165.5 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8635, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.8636, allocations: 8 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.8636, allocations: 3.984 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.8636, allocations: 4 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8636, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8636, allocations: 4 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.8637, allocations: 93 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.8638, allocations: 81.05 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.8638, allocations: 4 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.8639, allocations: 3.984 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.8639, allocations: 0 / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.8639, allocations: 4 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.8639, allocations: 79.28 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8639, allocations: 3.938 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002535/0.8642, allocations: 48 kB / 1.171 GB, free: 14.12 MB / 0.9044 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.0005664/0.8648, allocations: 0.7013 MB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.8649, allocations: 27.98 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8649, allocations: 0 / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.8649, allocations: 20.06 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.8651, allocations: 8.125 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.8655, allocations: 168.2 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.8658, allocations: 0.6768 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.021e-05/0.8658, allocations: 8 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.8659, allocations: 15.42 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8659, allocations: 0 / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.8832, allocations: 1.972 MB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.763, allocations: 27.75 kB / 1.175 GB, free: 10.54 MB / 0.9044 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