Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8971/0.8971, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.826/1.826, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.061e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002453/0.002474, allocations: 1.274 MB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006233/0.003097, allocations: 271.1 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.003132, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.003158, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.003207, allocations: 3.984 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.003556, allocations: 51.75 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.755e-05/0.003633, allocations: 19.86 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.003682, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.003752, allocations: 19.98 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.003813, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.00383, allocations: 0 / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.003959, allocations: 55.88 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.003973, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.003995, allocations: 7.938 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.004158, allocations: 55.88 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.004161, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.964e-06/0.004163, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004168, allocations: 3.938 kB / 1.001 GB, free: 11.71 MB / 0.9636 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.0003924/0.00456, allocations: 262.3 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.004609, allocations: 12.75 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.004647, allocations: 34.75 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.004859, allocations: 20.88 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.004957, allocations: 105.8 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.00497, allocations: 384 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.004979, allocations: 384 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.005125, allocations: 71.94 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005133, allocations: 192 / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.005144, allocations: 384 / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.005153, allocations: 12.12 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.005206, allocations: 12 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.005372, allocations: 136.7 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.006746, allocations: 262.3 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.006791, allocations: 20.86 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.006803, allocations: 0 / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.006829, allocations: 42.56 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.00683, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001793/0.00701, allocations: 61.81 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.007044, allocations: 59.33 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.463e-05/0.007099, allocations: 93.86 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.007113, allocations: 29.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/0.007137, allocations: 80.14 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.007164, allocations: 7.906 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.007201, allocations: 21.84 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.00733, allocations: 314.8 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.007352, allocations: 11.94 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.00737, allocations: 11.98 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.32e-05/0.007424, allocations: 28.86 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007426, allocations: 0 / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.718e-05/0.007513, allocations: 53.62 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.007529, allocations: 8 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007534, allocations: 0 / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.007548, allocations: 0 / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.007611, allocations: 11.92 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.007617, allocations: 4 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.00764, allocations: 4 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.007645, allocations: 0 / 1.003 GB, free: 9.75 MB / 0.9636 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.709e-05/0.007712, allocations: 105.8 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.007723, allocations: 7.953 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.007753, allocations: 7.531 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007756, allocations: 0 / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.007761, allocations: 3.938 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007764, allocations: 0 / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.654e-05/0.007861, allocations: 132.8 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007862, allocations: 4 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.007894, allocations: 4 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007895, allocations: 7.875 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.007902, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.007906, allocations: 4 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007908, allocations: 3.938 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.008012, allocations: 73.12 kB / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.008061, allocations: 11.98 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.008073, allocations: 0 / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.008114, allocations: 0 / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.008132, allocations: 7.938 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.008139, allocations: 8 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.464e-05/0.008233, allocations: 79.27 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.008233, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002191/0.008453, allocations: 8 kB / 1.004 GB, free: 9.211 MB / 0.9636 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.0004146/0.008867, allocations: 0.6085 MB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.661e-05/0.008964, allocations: 19.98 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.008966, allocations: 0 / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.008982, allocations: 16.27 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.009242, allocations: 38.17 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.009679, allocations: 155.1 kB / 1.004 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.009718, allocations: 55.36 kB / 1.004 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.009755, allocations: 12.06 kB / 1.004 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.009792, allocations: 12.5 kB / 1.004 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.009792, allocations: 0 / 1.004 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.02414, allocations: 1.992 MB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.211, allocations: 11.92 kB / 1.006 GB, free: 6.355 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.514865002594888]