Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_10_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.007897/0.007897, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002144/0.002144, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3116, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002546/0.3142, allocations: 1.262 MB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006175/0.3148, allocations: 295.4 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.3149, allocations: 0 / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.3149, allocations: 3.938 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.315, allocations: 11.98 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.3153, allocations: 43.75 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.3154, allocations: 23.88 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.3154, allocations: 4 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.3155, allocations: 15.91 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.3155, allocations: 0 / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3155, allocations: 4 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.3157, allocations: 51.95 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.3157, allocations: 8 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.3157, allocations: 15.86 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.3159, allocations: 44.17 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3159, allocations: 0 / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3159, allocations: 0 / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.387e-05/0.3159, allocations: 0 / 1.168 GB, free: 5.523 MB / 0.92 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.0004329/0.3164, allocations: 339.3 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3164, allocations: 12.03 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.3165, allocations: 34.75 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.3167, allocations: 24.91 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3168, allocations: 164.3 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3168, allocations: 384 / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.3168, allocations: 4.375 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.317, allocations: 42.19 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.317, allocations: 3.938 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.317, allocations: 0 / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.317, allocations: 4 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.3171, allocations: 15.98 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.3172, allocations: 165.7 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3191, allocations: 262.4 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.3192, allocations: 28.8 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-06/0.3192, allocations: 0 / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3192, allocations: 30.56 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3192, allocations: 0 / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001971/0.3194, allocations: 73.56 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.3195, allocations: 51.41 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.3195, allocations: 93.95 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.3196, allocations: 29.73 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.3196, allocations: 80.14 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3196, allocations: 7.953 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.3197, allocations: 17.67 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3198, allocations: 318.8 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.3199, allocations: 12 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.3199, allocations: 8 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.389e-05/0.32, allocations: 29.12 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.32, allocations: 7.984 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.435e-05/0.3201, allocations: 45.7 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3201, allocations: 11.94 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3201, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3201, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.3202, allocations: 15.86 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3202, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.3202, allocations: 4 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.3203, allocations: 3.938 kB / 1.17 GB, free: 3.387 MB / 0.92 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 9.566e-05/0.3204, allocations: 116.9 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.3204, allocations: 7.938 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3204, allocations: 7.5 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3204, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3204, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.3204, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.3206, allocations: 153.7 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3206, allocations: 4 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.3206, allocations: 7.984 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.3206, allocations: 3.938 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3207, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3207, allocations: 4 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3207, allocations: 0 / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.3208, allocations: 85.06 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.3209, allocations: 85 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.3209, allocations: 3.938 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.3209, allocations: 7.984 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.321, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.321, allocations: 8 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.321, allocations: 75.28 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.321, allocations: 4 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001873/0.3212, allocations: 8 kB / 1.17 GB, free: 2.719 MB / 0.92 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.0004711/0.3217, allocations: 0.6163 MB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.3218, allocations: 24.03 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3218, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.3219, allocations: 19.98 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.3221, allocations: 5.875 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.3225, allocations: 156.1 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3229, allocations: 0.6846 MB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.98e-05/0.3229, allocations: 4.266 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.323, allocations: 11.44 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.323, allocations: 0 / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3462, allocations: 1.33 MB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.172, allocations: 3.953 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches