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.001361/0.001361, 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.001589/0.001589, allocations: 220 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.805 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.236/3.236, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.002037/0.002037, allocations: 69.59 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002555/0.428, allocations: 1.292 MB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.4296, allocations: 0.8575 MB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.4297, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.4297, allocations: 11.92 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.974e-05/0.4297, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.4305, allocations: 213.1 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.4306, allocations: 15.88 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.4306, allocations: 7.984 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.4306, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.4307, allocations: 15.92 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.4307, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.4311, allocations: 243.7 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.4311, allocations: 0 / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.4312, allocations: 7.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.4315, allocations: 159.7 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4315, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4315, allocations: 4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4315, allocations: 0 / 1.329 GB, free: 14.64 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.0004659/0.4319, allocations: 290 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.432, allocations: 8.031 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.432, allocations: 30.75 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.4323, allocations: 20.91 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.4324, allocations: 110.4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4324, allocations: 8.375 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.4324, allocations: 3.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.4326, allocations: 75.38 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4326, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4326, allocations: 3.984 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4326, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.526e-05/0.4327, allocations: 12 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.4328, allocations: 128.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.4339, allocations: 134.5 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.4339, allocations: 20.84 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/0.434, allocations: 16 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.434, allocations: 30.56 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.434, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.4342, allocations: 61.67 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4343, allocations: 55.34 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.4343, allocations: 101.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4343, allocations: 25.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.4344, allocations: 80.14 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.4344, allocations: 12.03 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.4344, allocations: 21.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4346, allocations: 314.8 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.4346, allocations: 8 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.4346, allocations: 7.984 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.4347, allocations: 28.86 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4347, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.512e-05/0.4348, allocations: 57.62 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4348, allocations: 11.88 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4348, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4348, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.4349, allocations: 15.98 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4349, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.4349, allocations: 3.953 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4349, allocations: 8 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 8.013e-05/0.435, allocations: 110.3 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.435, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.4353, allocations: 85.14 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4353, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4353, allocations: 3.984 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4353, allocations: 4.266 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.4354, allocations: 132.7 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4354, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.4355, allocations: 11.98 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4355, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4355, allocations: 3.984 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4355, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4355, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.4356, allocations: 89.06 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.4357, allocations: 7.953 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4357, allocations: 4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.4357, allocations: 4.109 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.4358, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.4358, allocations: 8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.4358, allocations: 83.16 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4358, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002755/0.4361, allocations: 55.86 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.000632/0.4367, allocations: 0.6826 MB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.4368, allocations: 31.92 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4368, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.4369, allocations: 8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.437, allocations: 11.98 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.0005317/0.4376, 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 5.587e-05/0.4376, allocations: 59.36 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.935e-05/0.4377, allocations: 15.97 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.4377, allocations: 11.44 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4377, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.4656, allocations: 2.596 MB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.33, allocations: 10.81 kB / 1.334 GB, free: 8.555 MB / 1.029 GB " [Timeout remaining time 289] (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: 18.30407436497626]