Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.00171/0.00171, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002691/0.002691, allocations: 215.8 kB / 22.25 MB, free: 5.258 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.272/3.272, allocations: 0.49 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_TDewPoi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.002043/0.002043, allocations: 72.39 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3906, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002642/0.3932, allocations: 1.292 MB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3949, allocations: 0.8498 MB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.3949, allocations: 4 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.395, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.395, allocations: 3.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007281/0.3957, allocations: 205.5 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.3958, allocations: 27.86 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.3958, allocations: 3.984 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.3959, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.3959, allocations: 11.94 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3959, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.3963, allocations: 246.9 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.3964, allocations: 7.984 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.3964, allocations: 11.92 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.3967, allocations: 151.7 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3967, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3967, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3967, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 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.0004753/0.3971, allocations: 293.9 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3972, allocations: 12.03 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.3972, allocations: 38.75 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.3975, allocations: 12.92 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3976, allocations: 114.4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3976, allocations: 384 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3976, allocations: 7.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3978, allocations: 67.38 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3978, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.3978, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3978, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.3978, allocations: 19.98 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.3981, allocations: 128.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/0.399, allocations: 138.5 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.399, allocations: 24.83 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3991, allocations: 8 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3992, allocations: 34.56 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3992, allocations: 4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.3994, allocations: 65.67 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3994, allocations: 51.41 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.3995, allocations: 93.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3995, allocations: 25.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.3996, allocations: 80.14 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.3996, allocations: 19.89 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.3997, allocations: 13.72 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3998, allocations: 314.8 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.3999, allocations: 8.109 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.3999, allocations: 16 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.2e-05/0.3999, allocations: 20.86 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3999, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001045/0.4, allocations: 61.56 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4001, allocations: 11.98 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4001, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.4001, allocations: 3.938 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.4002, allocations: 4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4002, allocations: 4 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.4002, allocations: 3.953 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4002, allocations: 4 kB / 1.33 GB, free: 12.77 MB / 1.029 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 0.0001214/0.4003, allocations: 119.4 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.4003, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.4007, allocations: 85.05 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4007, allocations: 4 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4007, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4007, allocations: 4 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.4009, allocations: 132.7 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4009, allocations: 7.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.4009, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4009, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4009, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4009, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4009, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.4011, allocations: 89.12 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.4011, allocations: 11.94 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4012, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.4012, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.4012, allocations: 8.328 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.4012, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.4013, allocations: 79.28 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4013, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003395/0.4016, allocations: 51.8 kB / 1.331 GB, free: 12.09 MB / 1.029 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 (5): * Single equations (assignments): 5 * 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.0007018/0.4023, allocations: 0.6825 MB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.4025, allocations: 27.97 kB / 1.331 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4025, allocations: 12.03 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.4025, allocations: 15.98 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.4027, allocations: 7.438 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.4033, allocations: 164.5 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.037e-05/0.4033, allocations: 59.34 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.4034, allocations: 8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.4034, allocations: 15.44 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4034, allocations: 3.938 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.4312, allocations: 2.593 MB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.53, allocations: 4.469 kB / 1.334 GB, free: 8.559 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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: 18.594907641992904]