Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_X,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_9_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.001555/0.001555, allocations: 108.6 kB / 15.73 MB, free: 76 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.001869/0.001869, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.354/1.354, 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 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.78 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2773, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002548/0.2799, allocations: 1.258 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005455/0.2804, allocations: 287.5 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.2805, allocations: 0 / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.2805, allocations: 7.875 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.2806, allocations: 7.984 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.2809, allocations: 55.75 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.2809, allocations: 15.88 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.281, allocations: 3.984 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.281, allocations: 11.98 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.2811, allocations: 7.938 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.2811, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.2812, allocations: 55.95 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.2812, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.2813, allocations: 11.98 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.2814, allocations: 52.11 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2814, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2814, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2814, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 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.000505/0.2819, allocations: 335.4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.282, allocations: 8.031 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.282, allocations: 38.69 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.2822, allocations: 24.86 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2823, allocations: 168.3 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.2824, allocations: 384 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.2824, allocations: 4.375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2825, allocations: 50.17 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2825, allocations: 3.938 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2825, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2825, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.2826, allocations: 19.98 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.2827, allocations: 157.7 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.2845, allocations: 262.4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.2846, allocations: 28.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.2846, allocations: 3.938 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.2846, allocations: 30.56 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2846, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001561/0.2848, allocations: 69.61 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.2848, allocations: 51.41 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.2849, allocations: 93.86 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2849, allocations: 29.83 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.2849, allocations: 84.14 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.285, allocations: 7.906 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.285, allocations: 17.72 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2852, allocations: 314.8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.2852, allocations: 11.94 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.2852, allocations: 8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.2854, allocations: 28.84 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2854, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.787e-05/0.2854, allocations: 53.7 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2855, allocations: 13.97 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2855, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2855, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.2856, allocations: 11.98 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2856, allocations: 3.938 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.2856, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.2856, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 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.594e-05/0.2857, allocations: 105.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.2857, allocations: 15.89 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.2858, allocations: 7.5 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2858, allocations: 336 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2858, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2858, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.2859, allocations: 157.6 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2859, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.2859, allocations: 15.97 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.305e-05/0.286, allocations: 3.938 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.286, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.286, allocations: 3.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.286, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.2861, allocations: 77.06 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.2862, allocations: 85.05 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2862, allocations: 3.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.246e-05/0.2863, allocations: 3.984 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.2863, allocations: 8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.2863, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.2863, allocations: 79.28 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2863, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001812/0.2865, allocations: 8 kB / 1.092 GB, free: 13.45 MB / 0.8575 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.0003576/0.2869, allocations: 0.6124 MB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.42e-05/0.287, allocations: 32.03 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.287, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.287, allocations: 15.98 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2873, allocations: 8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.2877, allocations: 160.2 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2879, allocations: 0.6768 MB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.288, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.2881, allocations: 7.438 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of SimCode: time 8.31e-07/0.2881, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.3035, allocations: 1.329 MB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.545, allocations: 5.812 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches