Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001124/0.001124, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001396/0.001396, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9198/0.9198, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.761/1.761, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.9996 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.432e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00269/0.002715, allocations: 1.65 MB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6698/0.6725, allocations: 131.5 MB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.6727, allocations: 4.438 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.6729, allocations: 26.73 kB / 1.13 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.6733, allocations: 55.08 kB / 1.13 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007045/0.674, allocations: 198.8 kB / 1.13 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.6743, allocations: 167 kB / 1.13 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.6744, allocations: 20.2 kB / 1.13 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009617/0.6754, allocations: 221.7 kB / 1.13 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.6755, allocations: 47.67 kB / 1.13 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.6755, allocations: 12.59 kB / 1.13 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.6759, allocations: 168 kB / 1.131 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.6759, allocations: 22.64 kB / 1.131 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.676, allocations: 41.59 kB / 1.131 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.6764, allocations: 228.1 kB / 1.131 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.6764, allocations: 0.7969 kB / 1.131 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6764, allocations: 0 / 1.131 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.6764, allocations: 0 / 1.131 GB, free: 0.7969 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000734/0.6772, allocations: 399.5 kB / 1.131 GB, free: 484 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.6772, allocations: 9.938 kB / 1.131 GB, free: 484 kB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.6772, allocations: 44.61 kB / 1.131 GB, free: 436 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.6777, allocations: 81.3 kB / 1.131 GB, free: 424 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.6779, allocations: 153.7 kB / 1.132 GB, free: 268 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6779, allocations: 7.5 kB / 1.132 GB, free: 264 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.678, allocations: 9.344 kB / 1.132 GB, free: 260 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.6783, allocations: 184.5 kB / 1.132 GB, free: 152 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6783, allocations: 0 / 1.132 GB, free: 152 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6783, allocations: 6.062 kB / 1.132 GB, free: 148 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6783, allocations: 2.469 kB / 1.132 GB, free: 148 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.6786, allocations: 144.6 kB / 1.132 GB, free: 112 kB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.6794, allocations: 0.7198 MB / 1.133 GB, free: 15.48 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.6797, allocations: 130.3 kB / 1.133 GB, free: 15.42 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.6799, allocations: 74.61 kB / 1.133 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.6799, allocations: 5.078 kB / 1.133 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.6799, allocations: 37.36 kB / 1.133 GB, free: 15.35 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.6799, allocations: 0 / 1.133 GB, free: 15.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.00111/0.681, allocations: 380.6 kB / 1.133 GB, free: 15.24 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.6811, allocations: 53.11 kB / 1.133 GB, free: 15.18 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.6812, allocations: 150.5 kB / 1.133 GB, free: 15.06 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.6812, allocations: 31.05 kB / 1.133 GB, free: 15.03 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.6813, allocations: 112.1 kB / 1.134 GB, free: 14.92 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.6813, allocations: 33.77 kB / 1.134 GB, free: 14.89 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.6813, allocations: 28.86 kB / 1.134 GB, free: 14.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.6814, allocations: 323.4 kB / 1.134 GB, free: 14.55 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.6816, allocations: 73.03 kB / 1.134 GB, free: 14.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.6818, allocations: 112.3 kB / 1.134 GB, free: 14.47 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.682, allocations: 175.9 kB / 1.134 GB, free: 14.39 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6821, allocations: 0 / 1.134 GB, free: 14.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006049/0.6827, allocations: 277.5 kB / 1.134 GB, free: 14.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6827, allocations: 6.406 kB / 1.134 GB, free: 14.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6827, allocations: 1.656 kB / 1.134 GB, free: 14.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.683, allocations: 86.25 kB / 1.135 GB, free: 14.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6831, allocations: 40.73 kB / 1.135 GB, free: 14.26 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.6846, allocations: 1.545 MB / 1.136 GB, free: 12.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.6848, allocations: 28.64 kB / 1.136 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.6848, allocations: 7.344 kB / 1.136 GB, free: 12.88 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.588e-05/0.6849, allocations: 120.2 kB / 1.136 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.6849, allocations: 17.73 kB / 1.136 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/0.6855, allocations: 314.4 kB / 1.137 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6855, allocations: 1.875 kB / 1.137 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.6855, allocations: 0 / 1.137 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6855, allocations: 10.08 kB / 1.137 GB, free: 12.61 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.6857, allocations: 190.7 kB / 1.137 GB, free: 12.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6857, allocations: 1.094 kB / 1.137 GB, free: 12.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.86e-05/0.6858, allocations: 29.38 kB / 1.137 GB, free: 12.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.686, allocations: 81 kB / 1.137 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.686, allocations: 4.984 kB / 1.137 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.6872, allocations: 1.572 MB / 1.138 GB, free: 11.01 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6872, allocations: 0 / 1.138 GB, free: 11.01 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.6878, allocations: 376.1 kB / 1.139 GB, free: 10.81 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.6879, allocations: 35.31 kB / 1.139 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.6879, allocations: 0 / 1.139 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.688, allocations: 19.27 kB / 1.139 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.688, allocations: 21.19 kB / 1.139 GB, free: 10.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.688, allocations: 4.688 kB / 1.139 GB, free: 10.78 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.6881, allocations: 124.7 kB / 1.139 GB, free: 10.69 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6881, allocations: 0 / 1.139 GB, free: 10.69 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002524/0.6883, allocations: 44.41 kB / 1.139 GB, free: 10.68 MB / 1.01 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008333/0.6892, allocations: 0.9199 MB / 1.14 GB, free: 9.938 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005634/0.6897, allocations: 302 kB / 1.14 GB, free: 9.781 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6897, allocations: 3.938 kB / 1.14 GB, free: 9.777 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.69, allocations: 231.3 kB / 1.14 GB, free: 9.633 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.6903, allocations: 35.78 kB / 1.14 GB, free: 9.621 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.6927, allocations: 2.055 MB / 1.142 GB, free: 8.129 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.119e-05/0.6928, allocations: 97.84 kB / 1.143 GB, free: 8.055 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.6929, allocations: 22.31 kB / 1.143 GB, free: 8.047 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.693, allocations: 46.59 kB / 1.143 GB, free: 8.016 MB / 1.01 GB Notification: Performance of SimCode: time 1.172e-06/0.693, allocations: 0 / 1.143 GB, free: 8.016 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.7153, allocations: 5.469 MB / 1.148 GB, free: 6.844 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.458, allocations: 12.69 kB / 1.148 GB, free: 6.84 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: 12.690106702968478]