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.00174/0.00174, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002219/0.002219, allocations: 213.9 kB / 22.24 MB, free: 5.242 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 / 256 MB, free: 7.773 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.549/3.549, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.00206/0.00206, allocations: 71.94 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3502, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002614/0.3528, allocations: 1.282 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.3534, allocations: 279.5 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.3534, allocations: 0 / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.3535, allocations: 4 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.3535, allocations: 3.938 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.3538, allocations: 47.75 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.3539, allocations: 15.92 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.3539, allocations: 11.92 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.354, allocations: 7.938 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.354, allocations: 8 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.354, allocations: 0 / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3542, allocations: 59.94 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.3542, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.3542, allocations: 7.938 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.3543, allocations: 56.11 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3543, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3543, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3543, allocations: 0 / 1.365 GB, free: 12.29 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.0004363/0.3548, allocations: 262.2 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3548, allocations: 8.031 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.3549, allocations: 34.75 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.3551, allocations: 20.91 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3552, allocations: 110.5 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3552, allocations: 384 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3552, allocations: 4.375 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3553, allocations: 67.95 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3554, allocations: 3.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3554, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3554, allocations: 4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.3554, allocations: 15.98 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.3556, allocations: 128.7 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.3575, allocations: 278.4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.3576, allocations: 12.86 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.3576, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3576, allocations: 30.56 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3576, allocations: 4 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001738/0.3578, allocations: 65.62 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3578, allocations: 55.34 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.3579, allocations: 97.84 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3579, allocations: 25.7 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.358, allocations: 80.14 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.358, allocations: 11.91 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.358, allocations: 13.72 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3582, allocations: 314.8 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.3582, allocations: 12.11 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.3582, allocations: 12 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.3583, allocations: 24.86 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3583, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.17e-05/0.3583, allocations: 57.62 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3584, allocations: 11.88 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3584, allocations: 3.938 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3584, allocations: 0 / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.3584, allocations: 4 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3584, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.3585, allocations: 7.984 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3585, allocations: 4 kB / 1.367 GB, free: 10.33 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.236e-05/0.3586, allocations: 113.8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.3586, allocations: 3.938 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.3586, allocations: 7.531 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3586, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3586, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3586, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.3587, allocations: 132.7 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3587, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.3588, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3588, allocations: 3.938 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3588, allocations: 8 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3588, allocations: 4 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3588, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.3589, allocations: 85.34 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.359, allocations: 12.02 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.359, allocations: 3.938 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.359, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.359, allocations: 4 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.3591, allocations: 4 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.3591, allocations: 75.28 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 4.094 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001943/0.3593, allocations: 8 kB / 1.367 GB, free: 9.789 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.0004277/0.3597, allocations: 0.6163 MB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.3598, allocations: 19.98 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3598, allocations: 4 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.3599, allocations: 8 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.3601, allocations: 18.64 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.3606, allocations: 152.6 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.147e-05/0.3606, allocations: 59.3 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.333e-05/0.3607, allocations: 11.94 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.3607, allocations: 7.438 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.3607, allocations: 0 / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.3885, allocations: 1.87 MB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 8.141 kB / 1.37 GB, free: 7.082 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 19.137697850354016]