Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001815/0.001815, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002171/0.002171, allocations: 214.4 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.408/3.408, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.002175/0.002175, allocations: 62.39 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3654, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002669/0.3681, allocations: 1.27 MB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006027/0.3687, allocations: 283.5 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.3687, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.3687, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.3688, allocations: 7.922 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3691, allocations: 43.75 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.3691, allocations: 23.94 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.3692, allocations: 3.984 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.3692, allocations: 7.984 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.3692, allocations: 7.938 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3692, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3694, allocations: 55.95 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.3694, allocations: 7.984 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.3694, allocations: 7.938 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3695, allocations: 52.05 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3695, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3695, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3696, allocations: 4 kB / 1.365 GB, free: 12.33 MB / 1.061 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.000414/0.37, allocations: 254.3 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.37, allocations: 12.03 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.3701, allocations: 34.75 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.3703, allocations: 24.84 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3704, allocations: 102.5 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.3704, allocations: 384 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3704, allocations: 4.375 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3705, allocations: 67.94 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3705, allocations: 7.938 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3706, allocations: 8 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.3706, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/0.3706, allocations: 15.98 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.3708, allocations: 124.7 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.3726, allocations: 278.3 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.3726, allocations: 16.84 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3726, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3727, allocations: 30.56 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3727, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000177/0.3728, allocations: 69.56 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3729, allocations: 51.41 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.373, allocations: 93.86 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.373, allocations: 25.83 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.373, allocations: 88.12 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.373, allocations: 11.91 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3731, allocations: 13.72 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3732, allocations: 314.8 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.3733, allocations: 11.98 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.3733, allocations: 8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.3733, allocations: 24.86 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3733, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.3735, allocations: 57.62 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3735, allocations: 7.938 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3735, allocations: 4 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3735, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.3736, allocations: 12 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3736, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.3736, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3736, allocations: 7.922 kB / 1.367 GB, free: 10.38 MB / 1.061 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.683e-05/0.3737, allocations: 117.8 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.3737, allocations: 3.938 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.3737, allocations: 7.531 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3737, allocations: 336 / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3737, allocations: 0 / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3737, allocations: 8 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3739, allocations: 132.7 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3739, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.3739, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3739, allocations: 7.875 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3739, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3739, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3739, allocations: 3.938 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.374, allocations: 81.08 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.3741, allocations: 7.984 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.3741, allocations: 7.938 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.3741, allocations: 0 / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.3742, allocations: 4 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3742, allocations: 0 / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.3742, allocations: 75.28 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3742, allocations: 0 / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001974/0.3744, allocations: 12 kB / 1.367 GB, free: 9.832 MB / 1.061 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 (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 Backend phase and start with SimCode phase: time 0.0004342/0.3748, allocations: 0.6163 MB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.156e-05/0.3749, allocations: 19.98 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3749, allocations: 8.094 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.375, allocations: 11.94 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3752, allocations: 11.98 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.3756, allocations: 140.7 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.3757, allocations: 63.34 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.3757, allocations: 8 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.3758, allocations: 7.438 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3758, allocations: 0 / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.4033, allocations: 1.877 MB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.58, allocations: 7.859 kB / 1.37 GB, free: 7.125 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.70638707978651]