Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_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.006559/0.006559, allocations: 99.23 kB / 15.73 MB, free: 5.602 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.00123/0.00123, allocations: 192.2 kB / 16.68 MB, free: 5.523 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.516/2.516, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 55.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6792, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002048/0.6813, allocations: 1.267 MB / 1.221 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000519/0.6819, allocations: 298.9 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.6819, allocations: 0 / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.6819, allocations: 0 / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.6819, allocations: 3.938 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.6822, allocations: 59.75 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.6823, allocations: 19.86 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.6823, allocations: 4 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.6823, allocations: 11.98 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.6824, allocations: 4 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.6824, allocations: 0 / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.6825, allocations: 55.95 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.6825, allocations: 3.938 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.6826, allocations: 11.98 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.6827, allocations: 47.69 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.6827, allocations: 4 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6827, allocations: 0 / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.6827, allocations: 0 / 1.222 GB, free: 264 kB / 0.9356 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.0003459/0.6831, allocations: 335.2 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.6831, allocations: 8.031 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.6831, allocations: 34.75 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.6833, allocations: 16.91 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6834, allocations: 164.4 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.6835, allocations: 8.312 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.6835, allocations: 4.375 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.6836, allocations: 42.25 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6836, allocations: 3.938 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.6836, allocations: 0 / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.6836, allocations: 0 / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.6837, allocations: 19.98 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.6838, allocations: 153.7 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.6855, allocations: 270.3 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.6856, allocations: 16.86 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.6856, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.6856, allocations: 34.56 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.6856, allocations: 0 / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001444/0.6858, allocations: 69.58 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.6858, allocations: 55.39 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.6859, allocations: 93.8 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.6859, allocations: 33.7 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.6859, allocations: 84.08 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.686, allocations: 19.91 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.686, allocations: 17.72 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6861, allocations: 314.8 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.6861, allocations: 8 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.6862, allocations: 4 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.6862, allocations: 33.12 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6862, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.776e-05/0.6863, allocations: 53.69 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.6863, allocations: 7.938 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.6863, allocations: 8 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.6863, allocations: 0 / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.6864, allocations: 11.92 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.6864, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.6864, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.6864, allocations: 4 kB / 1.224 GB, free: 14.13 MB / 0.9512 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.503e-05/0.6865, allocations: 105.8 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.6865, allocations: 3.938 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.6866, allocations: 15.5 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6866, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6866, allocations: 4 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6866, allocations: 0 / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.6867, allocations: 157.7 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6867, allocations: 0 / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.6868, allocations: 15.98 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6868, allocations: 3.938 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.6868, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6868, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6868, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.6869, allocations: 85.02 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.687, allocations: 81.11 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.687, allocations: 3.938 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.687, allocations: 7.984 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.687, allocations: 4 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.6871, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.6871, allocations: 79.22 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6871, allocations: 4.094 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001676/0.6873, allocations: 8 kB / 1.224 GB, free: 13.46 MB / 0.9512 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.0003526/0.6876, allocations: 0.6167 MB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.6877, allocations: 27.98 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6877, allocations: 0 / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.6878, allocations: 19.98 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.688, allocations: 4 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.6883, allocations: 166 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.6886, allocations: 0.6768 MB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.6886, allocations: 4.328 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.6887, allocations: 7.438 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.6887, allocations: 0 / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8115/1.5, allocations: 1.322 MB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.9, allocations: 15.75 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches