Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.001707/0.001707, allocations: 101 kB / 16.45 MB, free: 6.449 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.002042/0.002042, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.598/1.598, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.447/3.447, allocations: 0.505 GB / 0.8066 GB, free: 23.1 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.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.002637/0.002637, allocations: 64.83 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4061, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003517/0.4096, allocations: 1.512 MB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.411, allocations: 0.8144 MB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.4111, allocations: 0 / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.4111, allocations: 3.938 kB / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.4112, allocations: 15.88 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.4117, allocations: 127.5 kB / 1.35 GB, free: 7.512 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.4118, allocations: 55.83 kB / 1.35 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.4119, allocations: 16.2 kB / 1.35 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.346e-05/0.412, allocations: 19.88 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.412, allocations: 31.84 kB / 1.35 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.4121, allocations: 4 kB / 1.35 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.4125, allocations: 175.8 kB / 1.35 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.4125, allocations: 11.98 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.4125, allocations: 19.88 kB / 1.35 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.4129, allocations: 155.4 kB / 1.351 GB, free: 7.031 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4129, allocations: 4 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4129, allocations: 0 / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4129, allocations: 0 / 1.351 GB, free: 7.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006384/0.4135, allocations: 398.9 kB / 1.351 GB, free: 6.586 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4136, allocations: 11.98 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.4136, allocations: 42.69 kB / 1.351 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.4137, allocations: 8.891 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4138, allocations: 168.3 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4138, allocations: 384 / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.4138, allocations: 8.359 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.4141, allocations: 82.14 kB / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4141, allocations: 3.938 kB / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4141, allocations: 0 / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4141, allocations: 4 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.4144, allocations: 67.92 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.4149, allocations: 284.7 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.4151, allocations: 66.45 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.4152, allocations: 32.92 kB / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.4154, allocations: 89.09 kB / 1.352 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4155, allocations: 38.5 kB / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4155, allocations: 0 / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005865/0.4161, allocations: 133.6 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4161, allocations: 55.34 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4162, allocations: 117.8 kB / 1.352 GB, free: 5.227 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4162, allocations: 25.7 kB / 1.352 GB, free: 5.195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.4163, allocations: 92.08 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.4163, allocations: 11.95 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.4163, allocations: 13.72 kB / 1.352 GB, free: 5.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4165, allocations: 318.8 kB / 1.353 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.4166, allocations: 31.95 kB / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.4168, allocations: 31.97 kB / 1.353 GB, free: 4.688 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.4171, allocations: 68.78 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4171, allocations: 0 / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003653/0.4175, allocations: 101.5 kB / 1.353 GB, free: 4.512 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4175, allocations: 8 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4175, allocations: 4 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4175, allocations: 3.984 kB / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4176, allocations: 15.98 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4176, allocations: 0 / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.4177, allocations: 15.98 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4177, allocations: 0 / 1.353 GB, free: 4.465 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 (3): * Single equations (assignments): 3 * 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.709e-05/0.4178, allocations: 109.8 kB / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.4179, allocations: 8 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.4183, allocations: 113.4 kB / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4183, allocations: 0 / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4183, allocations: 0 / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4183, allocations: 3.938 kB / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.4185, allocations: 177.5 kB / 1.353 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4185, allocations: 4 kB / 1.353 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.4186, allocations: 19.97 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4186, allocations: 0 / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4186, allocations: 4 kB / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4186, allocations: 3.938 kB / 1.353 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4186, allocations: 0 / 1.353 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.419, allocations: 195.8 kB / 1.353 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.4191, allocations: 89.05 kB / 1.354 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4191, allocations: 48 / 1.354 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4192, allocations: 11.97 kB / 1.354 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.4192, allocations: 8 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4192, allocations: 0 / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.737e-05/0.4193, allocations: 95.27 kB / 1.354 GB, free: 3.527 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4193, allocations: 0 / 1.354 GB, free: 3.527 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002908/0.4196, allocations: 39.8 kB / 1.354 GB, free: 3.488 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 (3): * Single equations (assignments): 3 * 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.0009029/0.4205, allocations: 0.767 MB / 1.354 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.4209, allocations: 67.92 kB / 1.355 GB, free: 2.629 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4209, allocations: 0 / 1.355 GB, free: 2.629 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.4211, allocations: 35.91 kB / 1.355 GB, free: 2.594 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4214, allocations: 14.33 kB / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.4235, allocations: 1.433 MB / 1.356 GB, free: 1.074 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.4239, allocations: 0.6923 MB / 1.357 GB, free: 364 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.4239, allocations: 4 kB / 1.357 GB, free: 360 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.424, allocations: 11.44 kB / 1.357 GB, free: 348 kB / 1.045 GB Notification: Performance of SimCode: time 4.2e-07/0.424, allocations: 4 kB / 1.357 GB, free: 344 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.4514, allocations: 2.524 MB / 1.359 GB, free: 13.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.637, allocations: 0 / 1.359 GB, free: 13.91 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.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_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.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: 16.013394557172433]