Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.503/2.503, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 64.03 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7459, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002444/0.7483, allocations: 1.949 MB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.917, allocations: 156 MB / 1.426 GB, free: 2.281 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.9171, allocations: 2.125 kB / 1.426 GB, free: 2.281 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.9173, allocations: 25.92 kB / 1.426 GB, free: 2.258 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.9176, allocations: 80.47 kB / 1.426 GB, free: 2.191 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.9182, allocations: 262.4 kB / 1.426 GB, free: 1.996 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.9185, allocations: 264.5 kB / 1.426 GB, free: 1.844 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.9187, allocations: 51.38 kB / 1.426 GB, free: 1.809 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.92, allocations: 265.1 kB / 1.427 GB, free: 1.676 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.9201, allocations: 94.19 kB / 1.427 GB, free: 1.613 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.9202, allocations: 14.44 kB / 1.427 GB, free: 1.613 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.9205, allocations: 184.2 kB / 1.427 GB, free: 1.527 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.9206, allocations: 43.45 kB / 1.427 GB, free: 1.492 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.9207, allocations: 89.47 kB / 1.427 GB, free: 1.434 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.9211, allocations: 294.2 kB / 1.427 GB, free: 1.246 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.9211, allocations: 1.156 kB / 1.427 GB, free: 1.246 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9211, allocations: 0 / 1.427 GB, free: 1.246 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.9211, allocations: 0 / 1.427 GB, free: 1.246 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009168/0.922, allocations: 0.5307 MB / 1.428 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.922, allocations: 17.53 kB / 1.428 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.9221, allocations: 48.23 kB / 1.428 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007614/0.9228, allocations: 80.8 kB / 1.428 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.9231, allocations: 235.3 kB / 1.428 GB, free: 424 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.9232, allocations: 41.31 kB / 1.428 GB, free: 384 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.9232, allocations: 14.34 kB / 1.428 GB, free: 380 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.9237, allocations: 264.2 kB / 1.428 GB, free: 168 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.9237, allocations: 1.156 kB / 1.428 GB, free: 168 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.9237, allocations: 6.156 kB / 1.428 GB, free: 164 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9238, allocations: 4.719 kB / 1.428 GB, free: 164 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.9242, allocations: 173.1 kB / 1.429 GB, free: 76 kB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.9258, allocations: 1.181 MB / 1.43 GB, free: 14.96 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.9265, allocations: 197.9 kB / 1.43 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.9267, allocations: 67.28 kB / 1.43 GB, free: 14.83 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.9267, allocations: 5.453 kB / 1.43 GB, free: 14.82 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.9268, allocations: 40.09 kB / 1.43 GB, free: 14.78 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.9268, allocations: 3.938 kB / 1.43 GB, free: 14.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002608/0.9294, allocations: 0.6157 MB / 1.431 GB, free: 14.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.9294, allocations: 56.81 kB / 1.431 GB, free: 14.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.9297, allocations: 216.8 kB / 1.431 GB, free: 14.11 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.9297, allocations: 27.11 kB / 1.431 GB, free: 14.08 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.9298, allocations: 143.4 kB / 1.431 GB, free: 13.95 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.9298, allocations: 45.56 kB / 1.431 GB, free: 13.91 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.9299, allocations: 49.45 kB / 1.431 GB, free: 13.87 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.93, allocations: 330.4 kB / 1.431 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.9303, allocations: 68.16 kB / 1.432 GB, free: 13.51 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.9305, allocations: 136.5 kB / 1.432 GB, free: 13.39 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.9309, allocations: 195.6 kB / 1.432 GB, free: 13.25 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9309, allocations: 1.062 kB / 1.432 GB, free: 13.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001445/0.9324, allocations: 369.9 kB / 1.432 GB, free: 13.04 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.9324, allocations: 8.938 kB / 1.432 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.9324, allocations: 14.09 kB / 1.432 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.9334, allocations: 158.5 kB / 1.432 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.9336, allocations: 41.77 kB / 1.432 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.9376, allocations: 3.251 MB / 1.436 GB, free: 9.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.938, allocations: 33.45 kB / 1.436 GB, free: 9.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.938, allocations: 15.14 kB / 1.436 GB, free: 9.723 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.9381, allocations: 135.2 kB / 1.436 GB, free: 9.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.9382, allocations: 21.59 kB / 1.436 GB, free: 9.578 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.9395, allocations: 369.6 kB / 1.436 GB, free: 9.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9395, allocations: 2.156 kB / 1.436 GB, free: 9.34 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.9395, allocations: 1.094 kB / 1.436 GB, free: 9.34 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9395, allocations: 0 / 1.436 GB, free: 9.34 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.9398, allocations: 278.3 kB / 1.436 GB, free: 9.062 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9398, allocations: 4 kB / 1.436 GB, free: 9.059 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.9399, allocations: 28.92 kB / 1.436 GB, free: 9.047 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007736/0.9407, allocations: 143.4 kB / 1.437 GB, free: 8.969 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.9407, allocations: 1.219 kB / 1.437 GB, free: 8.969 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.9446, allocations: 3.304 MB / 1.44 GB, free: 5.754 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9446, allocations: 4.062 kB / 1.44 GB, free: 5.75 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.9458, allocations: 430.1 kB / 1.44 GB, free: 5.457 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.9459, allocations: 110.5 kB / 1.44 GB, free: 5.34 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.946, allocations: 5.375 kB / 1.44 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.9462, allocations: 18.86 kB / 1.44 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.9463, allocations: 16.22 kB / 1.44 GB, free: 5.316 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.9463, allocations: 8.125 kB / 1.44 GB, free: 5.312 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001748/0.9465, allocations: 161.7 kB / 1.441 GB, free: 5.195 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.9465, allocations: 0 / 1.441 GB, free: 5.195 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003848/0.9469, allocations: 71.06 kB / 1.441 GB, free: 5.184 MB / 1.123 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001655/0.9485, allocations: 0.9805 MB / 1.442 GB, free: 4.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.9496, allocations: 442 kB / 1.442 GB, free: 4.008 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9496, allocations: 0 / 1.442 GB, free: 4.008 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.9502, allocations: 362.4 kB / 1.442 GB, free: 3.707 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.9506, allocations: 56.08 kB / 1.442 GB, free: 3.676 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.9555, allocations: 2.523 MB / 1.445 GB, free: 1.699 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.9559, allocations: 0.7368 MB / 1.446 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.956, allocations: 33.11 kB / 1.446 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.9561, allocations: 55.31 kB / 1.446 GB, free: 0.918 MB / 1.123 GB Notification: Performance of SimCode: time 4.61e-07/0.9561, allocations: 3.938 kB / 1.446 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.9941, allocations: 7.374 MB / 1.453 GB, free: 9.797 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.56, allocations: 0 / 1.453 GB, free: 9.797 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.997930411002017]