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.001141/0.001141, allocations: 112.5 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.001184/0.001184, allocations: 190.9 kB / 16.66 MB, free: 6.582 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.66/2.66, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3131, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002731/0.3159, allocations: 1.262 MB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.3165, allocations: 299.4 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.3166, allocations: 0 / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.3166, allocations: 3.938 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.3167, allocations: 4 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.3171, allocations: 51.73 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.3171, allocations: 23.88 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.3172, allocations: 4 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.3172, allocations: 7.938 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.3173, allocations: 3.984 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3173, allocations: 4 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3175, allocations: 51.95 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.3175, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.3175, allocations: 15.92 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3177, allocations: 44.17 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3177, allocations: 0 / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3177, allocations: 4 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.3177, allocations: 0 / 1.168 GB, free: 5.496 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.0004083/0.3181, allocations: 339.3 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.3182, allocations: 12.03 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.3183, allocations: 30.75 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.3185, allocations: 24.91 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3187, allocations: 164.3 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3187, allocations: 384 / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3187, allocations: 12.38 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3189, allocations: 42.19 kB / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3189, allocations: 3.938 kB / 1.168 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3189, allocations: 7.938 kB / 1.168 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3189, allocations: 0 / 1.168 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.319, allocations: 15.98 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.3192, allocations: 157.7 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.3212, allocations: 266.4 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.3212, allocations: 24.84 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.3213, allocations: 3.938 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3213, allocations: 34.56 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.3213, allocations: 0 / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001742/0.3215, allocations: 65.58 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3215, allocations: 55.41 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.3216, allocations: 97.84 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3216, allocations: 25.7 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.3217, allocations: 84.12 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3217, allocations: 3.953 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.3217, allocations: 25.8 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3218, allocations: 310.8 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.3219, allocations: 15.98 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.3219, allocations: 11.94 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.322, allocations: 24.86 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.322, allocations: 0 / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.713e-05/0.322, allocations: 49.69 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3221, allocations: 11.94 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3221, allocations: 0 / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3221, allocations: 4 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.3222, allocations: 7.938 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3222, allocations: 7.984 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.3222, allocations: 0 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3223, allocations: 3.938 kB / 1.17 GB, free: 3.355 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 7.295e-05/0.3223, allocations: 109.8 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.3223, allocations: 7.938 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.3224, allocations: 7.5 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3224, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3224, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3224, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.3225, allocations: 157.7 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3225, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.3226, allocations: 4 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3226, allocations: 3.938 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3226, allocations: 3.984 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3226, allocations: 0 / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3226, allocations: 0 / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.3228, allocations: 93 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.3228, allocations: 85 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3229, allocations: 7.938 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.3229, allocations: 4.375 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.3229, allocations: 3.984 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3229, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.323, allocations: 75.28 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.71e-07/0.323, allocations: 4 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001887/0.3232, allocations: 8.094 kB / 1.17 GB, free: 2.688 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.0003975/0.3236, allocations: 0.6163 MB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.3237, allocations: 27.92 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3237, allocations: 0 / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.3237, allocations: 16 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.324, allocations: 11.98 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.3245, allocations: 148.2 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3247, allocations: 0.6806 MB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.3248, allocations: 7.938 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.3248, allocations: 19.38 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.3248, allocations: 0 / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.3432, allocations: 1.321 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.763, allocations: 7.891 kB / 1.173 GB, free: 15.84 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