Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001834/0.001834, allocations: 109.2 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.002142/0.002142, allocations: 218.9 kB / 22.26 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.614/1.614, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.433/3.433, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_12_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.002065/0.002065, allocations: 69.89 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3746, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002949/0.3775, allocations: 1.521 MB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3789, allocations: 0.8219 MB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.3789, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.3789, allocations: 7.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.379, allocations: 11.86 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.3795, allocations: 139.4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3796, allocations: 51.78 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3797, allocations: 11.94 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.3797, allocations: 27.91 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.3798, allocations: 31.84 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3798, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.3802, allocations: 167.8 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.3802, allocations: 11.98 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.3802, allocations: 27.86 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3805, allocations: 151.5 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3805, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3805, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3805, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 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.0005685/0.3811, allocations: 325.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3811, allocations: 8.031 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.3812, allocations: 38.75 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.3812, allocations: 12.88 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3813, allocations: 110.5 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3813, allocations: 4.375 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.3813, allocations: 4.375 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3816, allocations: 74.16 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3816, allocations: 3.938 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3816, allocations: 3.984 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3816, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.3819, allocations: 67.88 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.3823, allocations: 255.8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3825, allocations: 58.47 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3826, allocations: 40.92 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.3828, allocations: 16.06 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3828, allocations: 30.56 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3828, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005443/0.3834, allocations: 141.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3834, allocations: 51.41 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3835, allocations: 117.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3835, allocations: 25.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.3836, allocations: 96.11 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.3836, allocations: 7.906 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.3836, allocations: 21.72 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3838, allocations: 322.7 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3839, allocations: 31.97 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.384, allocations: 31.95 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.3843, allocations: 73.06 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3843, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00031/0.3846, allocations: 101.5 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3846, allocations: 8 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3846, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3846, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3848, allocations: 15.98 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3848, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.3848, allocations: 11.94 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3848, allocations: 7.984 kB / 1.331 GB, free: 12.71 MB / 1.029 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 7.858e-05/0.3849, allocations: 110.3 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.385, allocations: 7.984 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.3853, allocations: 109.6 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3853, allocations: 3.938 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3853, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3853, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.3855, allocations: 144.6 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3855, allocations: 7.984 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3856, allocations: 19.98 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3856, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3856, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3856, allocations: 4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3856, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.386, allocations: 199.4 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.386, allocations: 11.89 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.386, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3861, allocations: 7.984 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3862, allocations: 7.984 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.3862, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.3862, allocations: 91.22 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3862, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002838/0.3865, allocations: 35.86 kB / 1.332 GB, free: 11.87 MB / 1.029 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.0007617/0.3873, allocations: 0.7514 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.3876, allocations: 71.92 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3876, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3878, allocations: 39.89 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3881, allocations: 15.88 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3899, allocations: 1.434 MB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.3902, allocations: 0.6924 MB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.3902, allocations: 0 / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.3903, allocations: 15.44 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3903, allocations: 0 / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.4192, allocations: 2.62 MB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.97, allocations: 1.75 kB / 1.337 GB, free: 6.242 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.2890049489979]