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.004549/0.004549, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001074/0.001074, allocations: 186.9 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.365/2.365, allocations: 390.3 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 62.62 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2597, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002281/0.2621, allocations: 1.257 MB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000634/0.2627, allocations: 303.4 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.2628, allocations: 0 / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.2628, allocations: 0 / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.2629, allocations: 7.922 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2632, allocations: 47.75 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.573e-05/0.2633, allocations: 19.92 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.2634, allocations: 4 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.2634, allocations: 4 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.2635, allocations: 11.94 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.2635, allocations: 3.938 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2637, allocations: 55.94 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.2637, allocations: 7.984 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.2637, allocations: 11.94 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2639, allocations: 46.77 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2639, allocations: 0 / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2639, allocations: 0 / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2639, allocations: 0 / 1.089 GB, free: 208 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.0003872/0.2643, allocations: 336.4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2643, allocations: 16.02 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.2644, allocations: 30.75 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.2646, allocations: 16.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.2647, allocations: 164.3 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2647, allocations: 12.38 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2647, allocations: 384 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.2649, allocations: 50.17 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2649, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2649, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2649, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.265, allocations: 12 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.2651, allocations: 153.7 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.267, allocations: 274.4 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.2671, allocations: 20.84 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.2671, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2671, allocations: 38.56 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.2671, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001724/0.2673, allocations: 69.66 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.2674, allocations: 55.41 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.2674, allocations: 97.8 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2674, allocations: 25.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.2675, allocations: 80.14 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.2675, allocations: 11.89 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.2676, allocations: 17.72 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.2677, allocations: 310.8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.2677, allocations: 8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.2677, allocations: 12.11 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/0.2678, allocations: 28.86 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2678, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.662e-05/0.2679, allocations: 57.59 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2679, allocations: 7.938 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2679, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2679, allocations: 3.938 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.268, allocations: 11.94 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.268, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.268, allocations: 3.938 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.268, allocations: 4 kB / 1.091 GB, free: 14.07 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 7.007e-05/0.2681, allocations: 109.8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.2681, allocations: 7.922 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.2682, allocations: 7.5 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2682, allocations: 7.938 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2682, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.2682, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.2683, allocations: 153.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2683, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.2684, allocations: 12 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2684, allocations: 7.938 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2684, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2684, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2684, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.2685, allocations: 77.06 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.2686, allocations: 85 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2686, allocations: 11.94 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.2687, allocations: 8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.2687, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.2687, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.2687, allocations: 75.28 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2687, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001835/0.2689, allocations: 4 kB / 1.092 GB, free: 13.41 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.0003445/0.2693, allocations: 0.6242 MB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.2694, allocations: 28.27 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2694, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.2694, allocations: 12 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.2697, allocations: 9.703 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.2701, allocations: 156.5 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2704, allocations: 0.6729 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.592e-05/0.2704, allocations: 7.984 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.2704, allocations: 11.44 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2705, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.2866, allocations: 1.323 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.455, allocations: 3.891 kB / 1.094 GB, free: 10.57 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