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.001414/0.001414, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001551/0.001551, allocations: 219.9 kB / 23.03 MB, free: 4.945 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.715/1.715, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.465/3.465, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="cs",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.002039/0.002039, allocations: 69.36 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3983, allocations: 176.1 MB / 1.327 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002804/0.4011, allocations: 1.3 MB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.4028, allocations: 0.842 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.4028, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.4028, allocations: 7.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.4029, allocations: 4 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.4037, allocations: 210.8 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.4037, allocations: 27.84 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.4038, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.4038, allocations: 8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.4039, allocations: 7.984 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.4039, allocations: 8 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.4043, allocations: 248.3 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.4044, allocations: 3.938 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.4044, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.4047, allocations: 155.6 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4047, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4047, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4048, allocations: 0 / 1.329 GB, free: 14.77 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.0004637/0.4052, allocations: 290 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4053, allocations: 12.03 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.598e-05/0.4053, allocations: 8.125 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.4053, allocations: 30.75 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.4056, allocations: 16.92 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.4057, allocations: 114.5 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4057, allocations: 12.11 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.4057, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.4058, allocations: 67.39 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4059, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4059, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4059, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.173e-05/0.4059, allocations: 27.92 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.4061, allocations: 128.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.4071, allocations: 134.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.4071, allocations: 12.86 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.4072, allocations: 19.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.4073, allocations: 30.56 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4073, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001851/0.4074, allocations: 61.62 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.4075, allocations: 51.41 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.4076, allocations: 101.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4076, allocations: 25.7 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.4076, allocations: 80.14 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.4076, allocations: 11.91 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.4077, allocations: 17.72 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4078, allocations: 310.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.4078, allocations: 11.98 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.4079, allocations: 8.125 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/0.4079, allocations: 28.84 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4079, allocations: 3.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001016/0.408, allocations: 57.62 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.408, allocations: 5.875 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.408, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.408, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.4081, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.4081, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.4081, allocations: 4.281 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4082, allocations: 12 kB / 1.331 GB, free: 12.89 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 8.9e-05/0.4082, allocations: 114.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.4083, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.4086, allocations: 89 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4086, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4086, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4086, allocations: 8 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.4087, allocations: 128.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4087, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.4088, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4088, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4088, allocations: 3.938 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4088, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4088, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.4089, allocations: 89 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.4089, allocations: 15.94 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.409, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.409, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.409, allocations: 3.984 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.409, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.4091, allocations: 75.28 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4091, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002788/0.4093, allocations: 51.88 kB / 1.332 GB, free: 12.21 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.0006162/0.41, allocations: 0.6827 MB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.4101, allocations: 31.92 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4101, allocations: 4.094 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.4101, allocations: 12 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.4103, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.4108, allocations: 176.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.258e-05/0.4108, allocations: 59.34 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.811e-05/0.4109, allocations: 12 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.4109, allocations: 15.36 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4109, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.4328, allocations: 2.237 MB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.68, allocations: 6.25 kB / 1.335 GB, free: 9.055 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 19.157313758973032]