Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_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.001956/0.001956, 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.002325/0.002325, allocations: 192.5 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.25 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2725, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002133/0.2747, allocations: 1.264 MB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.2752, allocations: 303.1 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.2752, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.2752, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.598e-05/0.2753, allocations: 3.938 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.2755, allocations: 55.69 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.899e-05/0.2756, allocations: 23.92 kB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.2756, allocations: 0 / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.2756, allocations: 4 kB / 1.055 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.2757, allocations: 7.984 kB / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.2757, allocations: 0 / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2758, allocations: 59.89 kB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.2758, allocations: 7.984 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.2759, allocations: 4 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.276, allocations: 48.12 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.276, allocations: 0 / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.665e-06/0.276, allocations: 3.984 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.276, allocations: 4 kB / 1.055 GB, free: 6.453 MB / 0.8106 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.0003392/0.2764, allocations: 335.5 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2764, allocations: 8.625 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.2764, allocations: 38.75 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.2767, allocations: 12.92 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.491e-05/0.2767, allocations: 168.3 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2768, allocations: 4.375 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.2768, allocations: 384 / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.425e-05/0.2769, allocations: 46.25 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2769, allocations: 3.938 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.2769, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2769, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.277, allocations: 19.88 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.2771, allocations: 165.7 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.279, allocations: 262.5 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.279, allocations: 24.84 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.279, allocations: 4 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2791, allocations: 30.56 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2791, allocations: 7.938 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000142/0.2792, allocations: 77.45 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2792, allocations: 51.41 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.654e-05/0.2793, allocations: 89.86 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2793, allocations: 25.7 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.2793, allocations: 84.14 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.2794, allocations: 11.89 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.2794, allocations: 13.84 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.2795, allocations: 314.8 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.2795, allocations: 8 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.2796, allocations: 11.98 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.2796, allocations: 24.86 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2796, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.381e-05/0.2797, allocations: 57.62 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2797, allocations: 9.344 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2797, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2797, allocations: 4 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.2798, allocations: 8 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2798, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.2798, allocations: 3.906 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2799, allocations: 4 kB / 1.056 GB, free: 4.328 MB / 0.8106 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 5.992e-05/0.2799, allocations: 113.8 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.2799, allocations: 3.938 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.28, allocations: 7.5 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.28, allocations: 4 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.28, allocations: 0 / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.28, allocations: 4 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.598e-05/0.2801, allocations: 161.6 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2801, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.2801, allocations: 7.938 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.2802, allocations: 7.938 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.2802, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2802, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2802, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.751e-05/0.2803, allocations: 85.06 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.2804, allocations: 85.09 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.2804, allocations: 7.875 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/0.2804, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.2804, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2805, allocations: 4 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.106e-05/0.2805, allocations: 79.27 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2805, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001878/0.2807, allocations: 12 kB / 1.057 GB, free: 3.66 MB / 0.8106 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.0003424/0.281, allocations: 0.6206 MB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.2811, allocations: 24.03 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2812, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.2812, allocations: 20.02 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.2814, allocations: 15.98 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.2818, allocations: 148.4 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2821, allocations: 0.6729 MB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.188e-05/0.2821, allocations: 11.84 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.2822, allocations: 11.44 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2822, allocations: 0 / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.3191, allocations: 1.288 MB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.55, allocations: 10.31 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches