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.001599/0.001599, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002122/0.002122, allocations: 213.5 kB / 22.24 MB, free: 4.855 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.781 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.355/3.355, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.002216/0.002216, allocations: 70.39 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3867, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003489/0.3902, allocations: 1.5 MB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3917, allocations: 0.7529 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.3917, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.3918, allocations: 7.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.3918, allocations: 15.84 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.3924, allocations: 127.5 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.3925, allocations: 43.86 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3926, allocations: 15.92 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.3926, allocations: 23.92 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.3927, allocations: 23.92 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3927, allocations: 11.88 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.3931, allocations: 159.8 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.3931, allocations: 11.98 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.3932, allocations: 15.94 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3935, allocations: 155.5 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3935, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3935, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3935, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 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.0006418/0.3942, allocations: 329.8 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3942, allocations: 12.03 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.3943, allocations: 34.73 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.3943, allocations: 4.938 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3944, allocations: 114.5 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3945, allocations: 384 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3945, allocations: 12.31 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.3948, allocations: 74.2 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3948, allocations: 7.875 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3948, allocations: 4 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3948, allocations: 0 / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.3951, allocations: 71.91 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.3955, allocations: 243.8 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.3958, allocations: 62.48 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3959, allocations: 40.91 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.3961, allocations: 15.98 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3961, allocations: 30.56 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3961, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005703/0.3967, allocations: 137.5 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3967, allocations: 55.41 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3968, allocations: 113.8 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3969, allocations: 29.7 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.3969, allocations: 88.14 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.397, allocations: 11.88 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.397, allocations: 17.72 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3972, allocations: 314.8 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3973, allocations: 39.95 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3975, allocations: 27.97 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.3977, allocations: 68.78 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3977, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003567/0.3981, allocations: 101.6 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3981, allocations: 8 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3981, allocations: 3.938 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3981, allocations: 0 / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3983, allocations: 23.91 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3983, allocations: 0 / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.3984, allocations: 7.984 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3984, allocations: 12 kB / 1.368 GB, free: 8.906 MB / 1.061 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 0.0001048/0.3985, allocations: 109.8 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3985, allocations: 7.953 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.3989, allocations: 105.6 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3989, allocations: 0 / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3989, allocations: 0 / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3989, allocations: 3.984 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.3991, allocations: 148.8 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3991, allocations: 0 / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.3992, allocations: 15.98 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3992, allocations: 7.938 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3992, allocations: 3.938 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3992, allocations: 0 / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3992, allocations: 0 / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3996, allocations: 207.8 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.3996, allocations: 7.891 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3997, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3998, allocations: 11.98 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.3998, allocations: 3.984 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.3998, allocations: 4 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.238e-05/0.3999, allocations: 95.27 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3999, allocations: 0 / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002947/0.4002, allocations: 31.88 kB / 1.369 GB, free: 8.07 MB / 1.061 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.0008661/0.401, allocations: 0.7629 MB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.4014, allocations: 71.91 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4014, allocations: 0 / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.4015, allocations: 39.91 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.4019, allocations: 11.94 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.4039, allocations: 1.426 MB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.294e-05/0.4039, allocations: 63.34 kB / 1.371 GB, free: 5.574 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.404, allocations: 7.984 kB / 1.371 GB, free: 5.566 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.404, allocations: 23.44 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.404, allocations: 0 / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/0.4434, allocations: 3.12 MB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.71, allocations: 3.875 kB / 1.374 GB, free: 2.566 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 18.841416394803673]