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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001483/0.001483, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.604/2.604, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.36 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2804, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002593/0.2831, allocations: 1.321 MB / 1.053 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005642/0.2837, allocations: 307.1 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.637e-05/0.2837, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.2837, allocations: 3.984 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.618e-05/0.2838, allocations: 7.922 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.284, allocations: 39.83 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.658e-05/0.2841, allocations: 19.94 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.2841, allocations: 4 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.2842, allocations: 11.97 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.2842, allocations: 7.938 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.2842, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2844, allocations: 51.95 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.2844, allocations: 0 / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.2844, allocations: 15.92 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.2845, allocations: 48.17 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2846, allocations: 0 / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2846, allocations: 0 / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2846, allocations: 4 kB / 1.054 GB, free: 6.332 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.0003456/0.2849, allocations: 331.6 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.285, allocations: 15.97 kB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.285, allocations: 30.75 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.2852, allocations: 24.91 kB / 1.054 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.2853, allocations: 176.2 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2854, allocations: 384 / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.2854, allocations: 4.375 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.2855, allocations: 46.19 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2855, allocations: 3.938 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2855, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2855, allocations: 4 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.2856, allocations: 15.98 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.2857, allocations: 157.7 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.2877, allocations: 270.3 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.2877, allocations: 20.86 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2877, allocations: 0 / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.2878, allocations: 34.56 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2878, allocations: 0 / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001506/0.2879, allocations: 69.47 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.288, allocations: 59.39 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.288, allocations: 93.86 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.288, allocations: 25.7 kB / 1.055 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.2881, allocations: 80.14 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.2881, allocations: 3.906 kB / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.2881, allocations: 21.84 kB / 1.055 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.2882, allocations: 314.8 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.2883, allocations: 8 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.2883, allocations: 12 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.2883, allocations: 24.86 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2883, allocations: 4 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.466e-05/0.2884, allocations: 53.62 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2884, allocations: 11.94 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2884, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.2885, allocations: 4.328 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.2885, allocations: 7.984 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2885, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.2886, allocations: 7.906 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.2886, allocations: 0 / 1.056 GB, free: 4.199 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 6.073e-05/0.2886, allocations: 109.8 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.2887, allocations: 11.92 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.2887, allocations: 7.5 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2887, allocations: 3.938 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2887, allocations: 4 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2887, allocations: 0 / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.261e-05/0.2888, allocations: 157.6 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2888, allocations: 0 / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.2889, allocations: 15.92 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2889, allocations: 3.938 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2889, allocations: 0 / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2889, allocations: 0 / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2889, allocations: 0 / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.289, allocations: 89.06 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.2891, allocations: 77.11 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2891, allocations: 3.938 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.2891, allocations: 3.984 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.2892, allocations: 4 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.2892, allocations: 0 / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.903e-05/0.2892, allocations: 75.28 kB / 1.056 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2892, allocations: 0 / 1.056 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001885/0.2894, allocations: 8 kB / 1.056 GB, free: 3.539 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.0003951/0.2898, allocations: 0.6202 MB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.142e-05/0.2899, allocations: 27.98 kB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2899, allocations: 0 / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.2899, allocations: 15.98 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2902, allocations: 15.94 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.2906, allocations: 162 kB / 1.057 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2908, allocations: 0.677 MB / 1.058 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.805e-05/0.2909, allocations: 7.859 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.2909, allocations: 7.438 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2909, allocations: 0 / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.3094, allocations: 1.165 MB / 1.059 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.3096, allocations: 221.5 kB / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.952, allocations: 1.625 kB / 1.059 GB, free: 0.6055 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