Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_comparison,fileNamePrefix="Buildings_10_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_10_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.004726/0.004726, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001508/0.001508, allocations: 203.5 kB / 16.68 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.476/2.476, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.269, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002299/0.2714, allocations: 1.278 MB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2726, allocations: 0.7712 MB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.2727, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.2727, allocations: 3.938 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.2728, allocations: 7.922 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.2733, allocations: 163.2 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.375e-05/0.2734, allocations: 27.86 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.2734, allocations: 0 / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.2735, allocations: 15.94 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.2736, allocations: 11.92 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.2736, allocations: 4 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.274, allocations: 287.5 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.2741, allocations: 7.922 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.2741, allocations: 8 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.2744, allocations: 171.7 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2744, allocations: 0 / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2744, allocations: 4 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.2744, allocations: 0 / 1.169 GB, free: 4.48 MB / 0.92 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.0004753/0.2749, allocations: 367.1 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.275, allocations: 15.97 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.275, allocations: 30.75 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.2752, allocations: 20.91 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2753, allocations: 164.3 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.2753, allocations: 4.359 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2754, allocations: 12.36 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2755, allocations: 42.25 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2755, allocations: 3.938 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.2755, allocations: 4 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2755, allocations: 8 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.2756, allocations: 27.92 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.2757, allocations: 161.7 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.2759, allocations: 62.62 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.2759, allocations: 20.86 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2759, allocations: 7.984 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.276, allocations: 38.55 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.276, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0001838/0.2762, allocations: 81.56 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2762, allocations: 51.41 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.2763, allocations: 93.86 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2763, allocations: 29.7 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.2763, allocations: 80.14 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.2764, allocations: 19.97 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.2764, allocations: 21.72 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2766, allocations: 318.8 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.2766, allocations: 7.984 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.2766, allocations: 12 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.2767, allocations: 40.78 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2767, allocations: 3.938 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.958e-05/0.2768, allocations: 61.69 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2768, allocations: 13.81 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2768, allocations: 4 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2768, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.277, allocations: 12 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.277, allocations: 3.984 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.277, allocations: 7.875 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.277, allocations: 8.438 kB / 1.171 GB, free: 2.422 MB / 0.92 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 7.928e-05/0.2771, allocations: 105.8 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.2771, allocations: 11.89 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.2774, allocations: 93.56 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2774, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2774, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2774, allocations: 7.984 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.2775, allocations: 161.7 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2775, allocations: 3.984 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-05/0.2776, allocations: 16 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2776, allocations: 7.938 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2777, allocations: 7.984 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2777, allocations: 0 / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2777, allocations: 0 / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2778, allocations: 93.06 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.2779, allocations: 85.05 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.2779, allocations: 7.938 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.278, allocations: 4 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.278, allocations: 4 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.278, allocations: 4 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.278, allocations: 79.27 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.278, allocations: 0 / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001812/0.2782, allocations: 12 kB / 1.171 GB, free: 1.621 MB / 0.92 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.0004045/0.2786, allocations: 0.6359 MB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.2788, allocations: 35.97 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2788, allocations: 0 / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.2788, allocations: 27.92 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.279, allocations: 8 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.2794, allocations: 160.1 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.2797, allocations: 0.6846 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.5e-05/0.2798, allocations: 4 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.2798, allocations: 15.36 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of SimCode: time 1.934e-06/0.2798, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.561/1.841, allocations: 1.446 MB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.71, allocations: 10.77 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches