Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001636/0.001636, 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.001959/0.001959, allocations: 194.9 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.066/2.066, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4785, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001777/0.4803, allocations: 1.282 MB / 0.951 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007716/0.4811, allocations: 0.7671 MB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.8e-05/0.4811, allocations: 0 / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.4811, allocations: 2.062 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.4812, allocations: 11.91 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.4815, allocations: 160.5 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.4816, allocations: 28.61 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.4816, allocations: 1.188 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.4816, allocations: 9.156 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.4817, allocations: 13.05 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.4817, allocations: 5.188 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.482, allocations: 286.5 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.4821, allocations: 9.484 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.4821, allocations: 12.34 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.4823, allocations: 166 kB / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4823, allocations: 0 / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4823, allocations: 1.5 kB / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.4823, allocations: 0 / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000283/0.4826, allocations: 366.5 kB / 0.9527 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.4827, allocations: 14.19 kB / 0.9528 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.086e-05/0.4827, allocations: 40.11 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.4829, allocations: 17.84 kB / 0.9528 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.891e-05/0.483, allocations: 165.6 kB / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.483, allocations: 5.656 kB / 0.953 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.483, allocations: 6.875 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.265e-05/0.4831, allocations: 47.25 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4831, allocations: 3.938 kB / 0.953 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4831, allocations: 13.56 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4831, allocations: 0 / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.98e-05/0.4832, allocations: 25.33 kB / 0.9531 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.4833, allocations: 156.6 kB / 0.9532 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/0.4834, allocations: 62.91 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.4834, allocations: 28.2 kB / 0.9533 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.4834, allocations: 0 / 0.9533 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.026e-05/0.4834, allocations: 35.81 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.4835, allocations: 1.625 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001534/0.4836, allocations: 79.88 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.63e-05/0.4836, allocations: 53 kB / 0.9535 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.941e-05/0.4837, allocations: 95.28 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.4837, allocations: 29.7 kB / 0.9536 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.827e-06/0.4837, allocations: 81.42 kB / 0.9537 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4837, allocations: 22.36 kB / 0.9537 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.4838, allocations: 21.78 kB / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.15e-05/0.4838, allocations: 315.9 kB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.4838, allocations: 9.406 kB / 0.954 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.4838, allocations: 14.86 kB / 0.954 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.056e-05/0.4839, allocations: 37.3 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4839, allocations: 0 / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.933e-05/0.484, allocations: 62.88 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.484, allocations: 10.22 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.484, allocations: 11.92 kB / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.484, allocations: 0 / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.4841, allocations: 20.05 kB / 0.9542 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4841, allocations: 0 / 0.9542 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.4842, allocations: 5.406 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.4842, allocations: 1.375 kB / 0.9542 GB, free: 5.293 MB / 0.7169 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 (6): * Single equations (assignments): 6 * 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 3.818e-05/0.4842, allocations: 111.5 kB / 0.9543 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.4842, allocations: 6.875 kB / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.4844, allocations: 90.25 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4844, allocations: 1.219 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4844, allocations: 0 / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.4844, allocations: 0 / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.11e-05/0.4845, allocations: 157.9 kB / 0.9545 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4845, allocations: 3.938 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.483e-05/0.4846, allocations: 17.64 kB / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4846, allocations: 11.88 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.4846, allocations: 1.125 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4846, allocations: 0 / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4846, allocations: 1.094 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.291e-05/0.4847, allocations: 98.64 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.4848, allocations: 87.55 kB / 0.9547 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.4848, allocations: 5.219 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.4848, allocations: 5.344 kB / 0.9547 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.4849, allocations: 10.42 kB / 0.9548 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4849, allocations: 4.938 kB / 0.9548 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.232e-05/0.4849, allocations: 76.47 kB / 0.9548 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4849, allocations: 0 / 0.9548 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001695/0.4851, allocations: 8.219 kB / 0.9548 GB, free: 4.598 MB / 0.7169 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.0002044/0.4853, allocations: 0.6421 MB / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.324e-05/0.4854, allocations: 38.08 kB / 0.9555 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4854, allocations: 0 / 0.9555 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.4854, allocations: 21.95 kB / 0.9555 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.4856, allocations: 14.03 kB / 0.9555 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.4859, allocations: 177.8 kB / 0.9557 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.686e-05/0.486, allocations: 0.6827 MB / 0.9564 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.974e-05/0.486, allocations: 7.734 kB / 0.9564 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.4861, allocations: 9.781 kB / 0.9564 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4861, allocations: 0 / 0.9564 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.607/1.093, allocations: 1.398 MB / 0.9578 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/8.112, allocations: 16.02 kB / 0.9578 GB, free: 2.293 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches