Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001374/0.001374, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001618/0.001618, allocations: 216.2 kB / 22.25 MB, free: 5.078 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.016 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.228/3.228, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.002216/0.002216, allocations: 65.66 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3544, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002702/0.3571, allocations: 1.309 MB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3585, allocations: 0.8373 MB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.3585, allocations: 0 / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.3586, allocations: 7.938 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.3586, allocations: 0 / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.3592, allocations: 131.4 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.381e-05/0.3592, allocations: 27.86 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3593, allocations: 8 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.3593, allocations: 15.92 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.3594, allocations: 4 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3594, allocations: 4 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.3598, allocations: 175.7 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.3598, allocations: 7.922 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.3599, allocations: 11.94 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3601, allocations: 124 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3601, allocations: 0 / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3601, allocations: 0 / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3601, allocations: 0 / 1.355 GB, free: 5.797 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.0004939/0.3606, allocations: 295.6 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3607, allocations: 8.031 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.3607, allocations: 30.75 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.3608, allocations: 12.89 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3609, allocations: 110.5 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.361, allocations: 55.97 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.361, allocations: 384 / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3611, allocations: 61.92 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3611, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3611, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3612, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3613, allocations: 19.98 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.3614, allocations: 124.8 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3617, allocations: 46.5 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.3617, allocations: 16.86 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.362, allocations: 28.06 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.362, allocations: 38.44 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.362, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000273/0.3623, allocations: 65.67 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3623, allocations: 55.41 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.3624, allocations: 97.84 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3624, allocations: 29.7 kB / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.3625, allocations: 80.14 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.3625, allocations: 15.89 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.3625, allocations: 21.7 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3627, allocations: 310.8 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.3627, allocations: 8 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.3628, allocations: 23.86 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.351e-05/0.3629, allocations: 24.84 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3629, allocations: 0 / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000143/0.363, allocations: 58.16 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3631, allocations: 7.938 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3631, allocations: 0 / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3631, allocations: 0 / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.3631, allocations: 11.98 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3631, allocations: 4 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.3632, allocations: 3.953 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3632, allocations: 4 kB / 1.357 GB, free: 3.953 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 9.909e-05/0.3633, allocations: 121.7 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.3633, allocations: 11.97 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.3635, allocations: 61.36 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3635, allocations: 0 / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3635, allocations: 7.984 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3635, allocations: 4 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3636, allocations: 132.7 kB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3636, allocations: 0 / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.3637, allocations: 8 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3637, allocations: 3.938 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3637, allocations: 0 / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3637, allocations: 0 / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3637, allocations: 0 / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3639, allocations: 93 kB / 1.357 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.3639, allocations: 11.94 kB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3639, allocations: 3.984 kB / 1.357 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/0.364, allocations: 4 kB / 1.357 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.364, allocations: 3.938 kB / 1.357 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.364, allocations: 0 / 1.357 GB, free: 3.418 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.3641, allocations: 87.27 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002544/0.3643, allocations: 31.88 kB / 1.358 GB, free: 3.301 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.0006453/0.365, allocations: 0.6668 MB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.3651, allocations: 23.98 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3651, allocations: 0 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.338e-05/0.3652, allocations: 19.92 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3654, allocations: 9.719 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.3659, allocations: 165.5 kB / 1.358 GB, free: 2.348 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3663, allocations: 0.6768 MB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.3663, allocations: 11.98 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.3663, allocations: 11.44 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3663, allocations: 4 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.3952, allocations: 2.098 MB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.32, allocations: 12.14 kB / 1.361 GB, free: 15.64 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_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_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.171955925000475]