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.0008102/0.0008102, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005786/0.005786, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 8.812 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2781, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001508/0.2796, allocations: 0.9977 MB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006224/0.2803, allocations: 299.2 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.2803, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.2803, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.2804, allocations: 3.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.2807, allocations: 47.75 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.2808, allocations: 23.92 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.2808, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.2809, allocations: 4 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.2809, allocations: 11.98 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2809, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2811, allocations: 51.89 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.2811, allocations: 11.94 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.2811, allocations: 25.7 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.2813, allocations: 56.09 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2813, allocations: 4 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2813, allocations: 7.938 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2813, allocations: 0 / 1.06 GB, free: 3.324 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.0003676/0.2817, allocations: 327.6 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.2818, allocations: 11.97 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.2818, allocations: 34.75 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.282, allocations: 12.92 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2822, allocations: 172.3 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2822, allocations: 4.375 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.2822, allocations: 4.375 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.2823, allocations: 42.25 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2823, allocations: 3.938 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2824, allocations: 0 / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2824, allocations: 0 / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/0.2824, allocations: 19.94 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.2826, allocations: 153.7 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.2845, allocations: 270.5 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.2846, allocations: 24.84 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2846, allocations: 0 / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2846, allocations: 38.56 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2846, allocations: 3.938 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001746/0.2848, allocations: 65.56 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2848, allocations: 51.41 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.778e-05/0.2849, allocations: 93.86 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2849, allocations: 29.7 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.285, allocations: 80.14 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.285, allocations: 15.92 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.285, allocations: 9.719 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2851, allocations: 318.8 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.2852, allocations: 4 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.2852, allocations: 11.98 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.2852, allocations: 28.8 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2852, allocations: 0 / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.292e-05/0.2853, allocations: 53.97 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2854, allocations: 7.938 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2854, allocations: 4.047 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2854, allocations: 3.984 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.2855, allocations: 8 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2855, allocations: 0 / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.2855, allocations: 7.906 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.2855, allocations: 0 / 1.062 GB, free: 1.211 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 7.583e-05/0.2856, allocations: 109.8 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.2856, allocations: 7.922 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.2856, allocations: 11.44 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2857, allocations: 4 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2857, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2857, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.2858, allocations: 169.5 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2858, allocations: 0 / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.2859, allocations: 4 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2859, allocations: 3.938 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.2859, allocations: 4 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.2859, allocations: 4 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2859, allocations: 0 / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.286, allocations: 85.06 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.2861, allocations: 81.09 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.2861, allocations: 3.938 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.2862, allocations: 4 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.2862, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2862, allocations: 4 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.2862, allocations: 79.28 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.124e-06/0.2862, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001804/0.2864, allocations: 12.03 kB / 1.063 GB, free: 0.5391 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.0003777/0.2868, allocations: 0.6201 MB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.199e-05/0.2869, allocations: 19.98 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2869, allocations: 0 / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.287, allocations: 15.94 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.2872, allocations: 19.98 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.2876, allocations: 162.3 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.2878, allocations: 0.6731 MB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.2879, allocations: 7.859 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.2879, allocations: 15.42 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.2879, allocations: 0 / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009722/0.2976, allocations: 1.112 MB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.2978, allocations: 220.2 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.935, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8262 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