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.001774/0.001774, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002183/0.002183, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.574/1.574, allocations: 230.6 MB / 256 MB, free: 7.988 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.472/3.472, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002071/0.002071, allocations: 67.3 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3503, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002377/0.3527, allocations: 1.286 MB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005911/0.3532, allocations: 307.4 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.3533, allocations: 0 / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.3533, allocations: 0 / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.3533, allocations: 7.875 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.3536, allocations: 51.73 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.3537, allocations: 15.94 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.3537, allocations: 4 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.3538, allocations: 4 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.3538, allocations: 7.984 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3538, allocations: 3.938 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.354, allocations: 59.95 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.354, allocations: 3.984 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.354, allocations: 8 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.3541, allocations: 56.03 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3541, allocations: 0 / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3541, allocations: 0 / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3542, allocations: 0 / 1.355 GB, free: 6.641 MB / 1.045 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.0004256/0.3546, allocations: 266.2 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3546, allocations: 12.03 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.3547, allocations: 30.75 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.3549, allocations: 20.92 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.355, allocations: 106.5 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.355, allocations: 4.312 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.355, allocations: 4.375 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3551, allocations: 42.25 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3551, allocations: 3.938 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3551, allocations: 4 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3551, allocations: 0 / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/0.3552, allocations: 15.98 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.3554, allocations: 124.8 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.3574, allocations: 266.4 kB / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.3574, allocations: 24.83 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.3574, allocations: 0 / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3575, allocations: 42.5 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3575, allocations: 4 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001878/0.3577, allocations: 61.62 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3577, allocations: 51.41 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.3578, allocations: 97.8 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3578, allocations: 25.7 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.3579, allocations: 84.08 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3579, allocations: 15.89 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3579, allocations: 17.72 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3581, allocations: 315 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.3581, allocations: 8 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.3582, allocations: 7.984 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.442e-05/0.3582, allocations: 28.86 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3582, allocations: 0 / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.972e-05/0.3583, allocations: 57.64 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3583, allocations: 9.656 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3583, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3583, allocations: 4 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.3584, allocations: 7.938 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3584, allocations: 4 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.3584, allocations: 0 / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.3584, allocations: 0 / 1.356 GB, free: 4.715 MB / 1.045 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.263e-05/0.3585, allocations: 121.7 kB / 1.356 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.3585, allocations: 3.938 kB / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.3586, allocations: 11.53 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3586, allocations: 4 kB / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3586, allocations: 0 / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3586, allocations: 0 / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.3587, allocations: 132.8 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3587, allocations: 0 / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.3588, allocations: 8 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3588, allocations: 3.938 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3588, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3588, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3588, allocations: 3.938 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3589, allocations: 81.05 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.3589, allocations: 16.33 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.359, allocations: 3.938 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.359, allocations: 0 / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.359, allocations: 4 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.359, allocations: 3.984 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.3591, allocations: 75.28 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3591, allocations: 0 / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001962/0.3593, allocations: 8 kB / 1.357 GB, free: 4.168 MB / 1.045 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.0004025/0.3597, allocations: 0.6241 MB / 1.357 GB, free: 3.512 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.724e-05/0.3598, allocations: 23.98 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3598, allocations: 0 / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-05/0.3598, allocations: 12 kB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.36, allocations: 9.703 kB / 1.357 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.3605, allocations: 152.6 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3608, allocations: 0.6729 MB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.3608, allocations: 11.98 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.3609, allocations: 7.438 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3609, allocations: 0 / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.3865, allocations: 1.435 MB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.09, allocations: 10.84 kB / 1.36 GB, free: 1.254 MB / 1.045 GB " [Timeout remaining time 289] (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: 18.383409580999796]