Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001764/0.001764, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002192/0.002192, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.922/2.922, allocations: 476.7 MB / 0.7672 GB, free: 5.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 71.91 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9197/0.9223, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002448/0.9247, allocations: 1.284 MB / 1.28 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005829/0.9253, allocations: 291.1 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.9253, allocations: 0 / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.9254, allocations: 3.938 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.9254, allocations: 7.938 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.9257, allocations: 55.73 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.706e-05/0.9258, allocations: 15.94 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.9258, allocations: 11.98 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.9259, allocations: 4 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.9259, allocations: 3.938 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.9259, allocations: 4 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.926, allocations: 51.95 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.926, allocations: 3.984 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.9261, allocations: 19.92 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.9262, allocations: 45.67 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.9262, allocations: 0 / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9262, allocations: 0 / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.9262, allocations: 0 / 1.28 GB, free: 11.59 MB / 0.9825 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.0004224/0.9266, allocations: 335.4 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.9267, allocations: 12.03 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.9267, allocations: 30.75 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.927, allocations: 28.86 kB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.9271, allocations: 168.3 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.9271, allocations: 384 / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.9271, allocations: 4.375 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.9272, allocations: 38.25 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9272, allocations: 3.938 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.9272, allocations: 4 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.9272, allocations: 0 / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.9273, allocations: 19.92 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.9275, allocations: 161.7 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.9294, allocations: 258.5 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.9294, allocations: 16.86 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.9295, allocations: 7.938 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.9295, allocations: 38.55 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.9295, allocations: 0 / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.9297, allocations: 69.56 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.9297, allocations: 51.41 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.9298, allocations: 89.86 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.9298, allocations: 29.7 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.9298, allocations: 84.27 kB / 1.281 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.9299, allocations: 19.83 kB / 1.281 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.9299, allocations: 17.72 kB / 1.281 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.93, allocations: 314.8 kB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.93, allocations: 8 kB / 1.282 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.9301, allocations: 4.188 kB / 1.282 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.9301, allocations: 40.86 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.9301, allocations: 0 / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.024e-05/0.9302, allocations: 57.7 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9302, allocations: 7.938 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.9302, allocations: 3.984 kB / 1.282 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.9302, allocations: 0 / 1.282 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.9303, allocations: 8 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.9303, allocations: 0 / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.9303, allocations: 0 / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.9303, allocations: 0 / 1.282 GB, free: 9.461 MB / 0.9825 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.079e-05/0.9304, allocations: 111.2 kB / 1.282 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.9304, allocations: 7.891 kB / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.9305, allocations: 11.5 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9305, allocations: 4 kB / 1.282 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.9305, allocations: 0 / 1.282 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9305, allocations: 3.984 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.9306, allocations: 149.7 kB / 1.282 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9306, allocations: 3.938 kB / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.9307, allocations: 11.92 kB / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.9307, allocations: 7.938 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.9307, allocations: 4 kB / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9307, allocations: 3.938 kB / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9307, allocations: 4 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.9308, allocations: 73.12 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.9309, allocations: 77.11 kB / 1.282 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.9309, allocations: 11.92 kB / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.9309, allocations: 0 / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.9309, allocations: 4 kB / 1.282 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.931, allocations: 4 kB / 1.282 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.847e-05/0.931, allocations: 79.28 kB / 1.282 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.931, allocations: 0 / 1.282 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001979/0.9312, allocations: 4 kB / 1.282 GB, free: 8.793 MB / 0.9825 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.0004287/0.9316, allocations: 0.6207 MB / 1.283 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.671e-05/0.9317, allocations: 24 kB / 1.283 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9317, allocations: 4.094 kB / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.9317, allocations: 15.92 kB / 1.283 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.932, allocations: 8 kB / 1.283 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.9324, allocations: 152.2 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.9327, allocations: 0.6806 MB / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.9328, allocations: 8.328 kB / 1.284 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.9328, allocations: 7.438 kB / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9328, allocations: 0 / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.9548, allocations: 1.343 MB / 1.285 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.993, allocations: 15.7 kB / 1.285 GB, free: 5.93 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.321593758184463]