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.001485/0.001485, allocations: 108 kB / 15.6 MB, free: 132 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.001527/0.001527, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.127/2.127, allocations: 390.3 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5669/0.5681, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001971/0.5701, allocations: 1.25 MB / 0.9509 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004286/0.5705, allocations: 285 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.5706, allocations: 0 / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.5706, allocations: 9.406 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.5706, allocations: 0 / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.5709, allocations: 57.48 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.048e-05/0.5709, allocations: 15.69 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.5709, allocations: 2.969 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.571, allocations: 16.05 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.571, allocations: 3.344 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.126e-06/0.571, allocations: 0 / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.5711, allocations: 52.83 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.5712, allocations: 9.359 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.5712, allocations: 12.05 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.5713, allocations: 46.12 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5713, allocations: 0 / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5713, allocations: 3.938 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.5713, allocations: 0.9688 kB / 0.9514 GB, free: 7.844 MB / 0.7169 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.0002579/0.5716, allocations: 341 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.5716, allocations: 8.938 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.5717, allocations: 31.81 kB / 0.9518 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.5719, allocations: 23.84 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.72e-05/0.5719, allocations: 161.5 kB / 0.952 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5719, allocations: 1.531 kB / 0.952 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.5719, allocations: 5.438 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.572, allocations: 49.8 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.5721, allocations: 7.875 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.5721, allocations: 4 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.5721, allocations: 1.406 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.5721, allocations: 20.36 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001015/0.5722, allocations: 158.6 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.574, allocations: 268.3 kB / 0.9525 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.574, allocations: 17.05 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.5741, allocations: 1.469 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.5741, allocations: 35.59 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5741, allocations: 0 / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001227/0.5742, allocations: 65.5 kB / 0.9526 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.5742, allocations: 55.39 kB / 0.9526 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.954e-05/0.5743, allocations: 95.27 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.5743, allocations: 31.36 kB / 0.9528 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.939e-06/0.5743, allocations: 80.14 kB / 0.9528 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.5743, allocations: 14.03 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.5744, allocations: 20.31 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.579e-05/0.5744, allocations: 316.1 kB / 0.9532 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.5744, allocations: 8 kB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.5744, allocations: 8.375 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.5745, allocations: 29.7 kB / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5745, allocations: 3.938 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.602e-05/0.5746, allocations: 55.97 kB / 0.9533 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5746, allocations: 9.5 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.5746, allocations: 0 / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5746, allocations: 1.312 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.5747, allocations: 8.141 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.5747, allocations: 1.062 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.5747, allocations: 1.375 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.5747, allocations: 1.406 kB / 0.9533 GB, free: 6.023 MB / 0.7169 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 3.833e-05/0.5747, allocations: 115.1 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.5748, allocations: 9 kB / 0.9534 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.5748, allocations: 7.828 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5748, allocations: 1.5 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.5748, allocations: 0 / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.5748, allocations: 3.984 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.572e-05/0.5749, allocations: 155.4 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5749, allocations: 0 / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.5749, allocations: 8.734 kB / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5749, allocations: 5.438 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.5749, allocations: 8 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5749, allocations: 1.344 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5749, allocations: 3.938 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.342e-05/0.575, allocations: 77.78 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.5751, allocations: 77.98 kB / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.5751, allocations: 5.344 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.5751, allocations: 8.922 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.5752, allocations: 9.594 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.5752, allocations: 1.375 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.407e-05/0.5752, allocations: 76.66 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5752, allocations: 0 / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001733/0.5754, allocations: 5.531 kB / 0.9538 GB, free: 5.398 MB / 0.7169 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.0002048/0.5756, allocations: 0.6155 MB / 0.9544 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.853e-05/0.5757, allocations: 29.98 kB / 0.9545 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5757, allocations: 0 / 0.9545 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.967e-05/0.5757, allocations: 20.77 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.5759, allocations: 8.031 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.5762, allocations: 166.6 kB / 0.9547 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.897e-05/0.5763, allocations: 0.6801 MB / 0.9553 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.5763, allocations: 1.469 kB / 0.9553 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.5764, allocations: 14.06 kB / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5764, allocations: 0 / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.6153, allocations: 1.286 MB / 0.9566 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/8.096, allocations: 8.656 kB / 0.9566 GB, free: 3.133 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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