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.001918/0.001918, allocations: 105 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.002378/0.002378, 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.518/1.518, 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 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.339/3.339, allocations: 0.49 GB / 0.7916 GB, free: 33.2 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.002074/0.002074, allocations: 69.55 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4083, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002843/0.4111, allocations: 1.516 MB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.4125, allocations: 0.8138 MB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.4125, allocations: 0 / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.4126, allocations: 7.922 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.4126, allocations: 7.922 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.4131, allocations: 143.4 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.4133, allocations: 51.84 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.4134, allocations: 12.22 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.4134, allocations: 19.92 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.4135, allocations: 31.84 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.4135, allocations: 4 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.4139, allocations: 179.6 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.4139, allocations: 11.98 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.414, allocations: 23.86 kB / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.4143, allocations: 155.5 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4143, allocations: 0 / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4143, allocations: 4 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.4143, allocations: 0 / 1.324 GB, free: 408 kB / 1.014 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.0007124/0.415, allocations: 394.9 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.415, allocations: 15.98 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.4151, allocations: 38.73 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.4151, allocations: 8.891 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.4153, allocations: 168.3 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4153, allocations: 384 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.4153, allocations: 12.38 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.4156, allocations: 70.2 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4156, allocations: 11.88 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4156, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4157, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.416, allocations: 67.92 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.4165, allocations: 288.7 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.4167, allocations: 54.42 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4169, allocations: 40.91 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.4171, allocations: 93.09 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.4171, allocations: 34.56 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4171, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006031/0.4178, allocations: 129.6 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.4178, allocations: 51.41 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4179, allocations: 121.8 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4179, allocations: 25.7 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.418, allocations: 92.2 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.418, allocations: 7.906 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.4181, allocations: 25.64 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4182, allocations: 318.8 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.4184, allocations: 31.97 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4185, allocations: 32.14 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.4188, allocations: 72.86 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4188, allocations: 4 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000356/0.4192, allocations: 93.62 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4192, allocations: 11.94 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4192, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4192, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4193, allocations: 19.92 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4193, allocations: 8 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.4194, allocations: 15.92 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.4194, allocations: 4 kB / 1.326 GB, free: 13.83 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 9.2e-05/0.4195, allocations: 111.5 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4196, allocations: 4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.42, allocations: 109.5 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.42, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.42, allocations: 4 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.42, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.4202, allocations: 173.6 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4202, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.4203, allocations: 19.92 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4203, allocations: 0 / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.4203, allocations: 3.938 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4203, allocations: 4 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4203, allocations: 7.984 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.4208, allocations: 195.4 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.4208, allocations: 81.06 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.4208, allocations: 4 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.421, allocations: 15.98 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.421, allocations: 7.984 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.421, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.4211, allocations: 91.27 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4211, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003057/0.4214, allocations: 35.88 kB / 1.327 GB, free: 12.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.0008783/0.4223, allocations: 0.763 MB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.4226, allocations: 71.91 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4226, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.4228, allocations: 35.91 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4231, allocations: 10.09 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.4253, allocations: 1.451 MB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4256, allocations: 0.6807 MB / 1.33 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.4257, allocations: 4 kB / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.4257, allocations: 23.42 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4257, allocations: 0 / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.4523, allocations: 2.506 MB / 1.332 GB, free: 7.297 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.497, allocations: 8.641 kB / 1.332 GB, free: 7.289 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.717505405889824]