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.001518/0.001518, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.00185/0.00185, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.241/3.241, allocations: 0.49 GB / 0.7916 GB, free: 33.18 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.002016/0.002016, allocations: 68.22 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3638, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002518/0.3663, allocations: 1.3 MB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3681, allocations: 0.9317 MB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.3681, allocations: 0 / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.3681, allocations: 0 / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.3682, allocations: 3.938 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.3689, allocations: 203.4 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.331e-05/0.369, allocations: 23.91 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.369, allocations: 4 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.3691, allocations: 8 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.3691, allocations: 11.92 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.3691, allocations: 0 / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.3697, allocations: 247.7 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.3697, allocations: 0 / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.3697, allocations: 11.92 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.37, allocations: 155.6 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.37, allocations: 0 / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.37, allocations: 0 / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.37, allocations: 4 kB / 1.324 GB, free: 436 kB / 1.014 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.0005316/0.3705, allocations: 367.1 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3706, allocations: 15.98 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.3706, allocations: 30.75 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.3709, allocations: 16.92 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3711, allocations: 172.3 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3711, allocations: 4.375 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3711, allocations: 7.938 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3712, allocations: 45.62 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3712, allocations: 4 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3713, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3713, allocations: 3.938 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.93e-05/0.3713, allocations: 15.98 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3715, allocations: 157.7 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009797/0.3725, allocations: 134.5 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.3725, allocations: 20.84 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.3726, allocations: 81.11 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3727, allocations: 34.56 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3727, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002051/0.3729, allocations: 65.61 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.3729, allocations: 51.41 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.373, allocations: 97.86 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.373, allocations: 29.7 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.3731, allocations: 80.14 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3731, allocations: 7.906 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3732, allocations: 21.7 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3733, allocations: 314.8 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.3733, allocations: 8 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.3733, allocations: 12.11 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.3734, allocations: 28.8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3734, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.3735, allocations: 57.62 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3735, allocations: 4 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3735, allocations: 7.938 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3736, allocations: 336 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.3736, allocations: 11.98 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3736, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.3737, allocations: 3.953 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3737, allocations: 4 kB / 1.325 GB, free: 14.3 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 9.23e-05/0.3738, allocations: 117.8 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.3738, allocations: 0 / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.3741, allocations: 89.02 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3741, allocations: 4 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3741, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3741, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.3742, allocations: 169.5 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3742, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.3743, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3743, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3743, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3743, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3743, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.3744, allocations: 93 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.3745, allocations: 89.05 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3745, allocations: 0 / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.3746, allocations: 4 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.3746, allocations: 4 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3746, allocations: 3.984 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.3746, allocations: 75.28 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3746, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002676/0.3749, allocations: 55.97 kB / 1.326 GB, free: 13.49 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.0006362/0.3755, allocations: 0.6865 MB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.3757, allocations: 27.94 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3757, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.3757, allocations: 19.98 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.3759, allocations: 8 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.3763, allocations: 174.1 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3767, allocations: 0.6768 MB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.259e-05/0.3768, allocations: 8 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.3768, allocations: 15.44 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3768, allocations: 0 / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.4044, allocations: 2.031 MB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.539, allocations: 9.438 kB / 1.33 GB, free: 9.863 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.41820267192088]