Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.001757/0.001757, allocations: 107.8 kB / 16.45 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.002249/0.002249, 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.511/1.511, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.312/3.312, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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_comparison,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.002047/0.002047, allocations: 77.34 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3342, 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_comparison): time 0.002604/0.3368, allocations: 1.311 MB / 1.322 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3381, allocations: 0.8023 MB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.3381, allocations: 4 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.3381, allocations: 3.938 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.121e-05/0.3382, allocations: 0 / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.3387, allocations: 167.2 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.3388, allocations: 27.86 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.3388, allocations: 4 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.3389, allocations: 11.98 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.3389, allocations: 15.92 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.3389, allocations: 0 / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.3394, allocations: 295.5 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.3394, allocations: 0 / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.3395, allocations: 15.94 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.3398, allocations: 183.7 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3398, allocations: 0 / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3398, allocations: 0 / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3398, allocations: 4 kB / 1.324 GB, free: 496 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005336/0.3403, allocations: 376.6 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3404, allocations: 11.98 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.3404, allocations: 30.75 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007606/0.3412, allocations: 56.86 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3413, allocations: 164.4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3413, allocations: 384 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3413, allocations: 4.375 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3415, allocations: 58.11 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3415, allocations: 3.938 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3415, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3415, allocations: 4 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.3416, allocations: 19.98 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.3418, allocations: 161.7 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.3419, allocations: 58.66 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.3419, allocations: 24.89 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.342, allocations: 4 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.342, allocations: 38.5 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.342, allocations: 0 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002005/0.3422, allocations: 85.56 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3423, allocations: 55.41 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.139e-05/0.3423, allocations: 89.86 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3423, allocations: 33.7 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.3424, allocations: 80.14 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.3424, allocations: 15.8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3425, allocations: 21.7 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3426, allocations: 314.8 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.3426, allocations: 12.11 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.3426, allocations: 19.94 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.3427, allocations: 32.86 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3427, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000112/0.3428, allocations: 65.67 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3428, allocations: 7.938 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3428, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3429, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.343, allocations: 15.94 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.343, allocations: 3.984 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.343, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.343, allocations: 7.938 kB / 1.325 GB, free: 14.41 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 (6): * Single equations (assignments): 6 * 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 7.741e-05/0.3431, allocations: 113.8 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.3431, allocations: 3.938 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.3433, allocations: 105.5 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3433, allocations: 448 / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3433, allocations: 7.938 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3433, allocations: 0 / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.3435, allocations: 161.7 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3435, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.791e-05/0.3436, allocations: 19.92 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.3436, allocations: 7.938 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3436, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3436, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3436, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.3437, allocations: 101.1 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.3438, allocations: 85.05 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3438, allocations: 3.938 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.3439, allocations: 8 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.3439, allocations: 3.984 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3439, allocations: 4 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.344, allocations: 75.28 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.344, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001944/0.3442, allocations: 8.094 kB / 1.326 GB, free: 13.6 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 (7): * Single equations (assignments): 7 * 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.0004593/0.3446, allocations: 0.6397 MB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.3447, allocations: 39.92 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3447, allocations: 0 / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/0.3448, allocations: 16 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.345, allocations: 11.98 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.3455, allocations: 164.2 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3458, allocations: 0.6768 MB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.346e-05/0.3458, allocations: 11.98 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.3459, allocations: 15.44 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3459, allocations: 3.938 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.3686, allocations: 1.446 MB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.413, allocations: 7.641 kB / 1.329 GB, free: 10.63 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_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_comparison.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable r_p in file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv. Warning: Get data of variable r_p from file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.395759019069374]