Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001355/0.001355, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001583/0.001583, allocations: 221.8 kB / 22.25 MB, free: 5.102 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.801 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.388/3.388, allocations: 0.49 GB / 0.7951 GB, free: 35.56 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.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.002056/0.002056, allocations: 70.09 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3262, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003205/0.3294, allocations: 1.877 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.4997, allocations: 136.7 MB / 1.461 GB, free: 6.375 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.4999, allocations: 4 kB / 1.461 GB, free: 6.371 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.5001, allocations: 35.59 kB / 1.461 GB, free: 6.336 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.5005, allocations: 79.41 kB / 1.461 GB, free: 6.258 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.5014, allocations: 264.1 kB / 1.462 GB, free: 6 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.5017, allocations: 263 kB / 1.462 GB, free: 5.742 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.5018, allocations: 50.53 kB / 1.462 GB, free: 5.691 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.5033, allocations: 267.8 kB / 1.462 GB, free: 5.453 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.5035, allocations: 99.59 kB / 1.462 GB, free: 5.355 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.5035, allocations: 12 kB / 1.462 GB, free: 5.344 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.5039, allocations: 183.7 kB / 1.462 GB, free: 5.164 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.504, allocations: 43.83 kB / 1.462 GB, free: 5.121 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.5041, allocations: 83.64 kB / 1.463 GB, free: 5.039 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.5046, allocations: 294.8 kB / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5046, allocations: 0 / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5046, allocations: 0 / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.5046, allocations: 0 / 1.463 GB, free: 4.75 MB / 1.154 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.0009361/0.5055, allocations: 469.2 kB / 1.463 GB, free: 4.262 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5056, allocations: 8.031 kB / 1.463 GB, free: 4.254 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.5056, allocations: 50.55 kB / 1.463 GB, free: 4.195 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5068, allocations: 111.8 kB / 1.463 GB, free: 4.086 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.5071, allocations: 174 kB / 1.464 GB, free: 3.891 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/0.5071, allocations: 63.73 kB / 1.464 GB, free: 3.816 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.5072, allocations: 20 kB / 1.464 GB, free: 3.797 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.5078, allocations: 314 kB / 1.464 GB, free: 3.449 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5078, allocations: 3.938 kB / 1.464 GB, free: 3.445 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.5078, allocations: 8 kB / 1.464 GB, free: 3.438 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5078, allocations: 4 kB / 1.464 GB, free: 3.434 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.5083, allocations: 168.3 kB / 1.464 GB, free: 3.27 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.51, allocations: 1.11 MB / 1.465 GB, free: 2.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.5108, allocations: 194.6 kB / 1.465 GB, free: 1.891 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.5109, allocations: 68.81 kB / 1.465 GB, free: 1.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.511, allocations: 7.938 kB / 1.465 GB, free: 1.812 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.511, allocations: 34.56 kB / 1.465 GB, free: 1.77 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.511, allocations: 0 / 1.465 GB, free: 1.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002537/0.5135, allocations: 0.4908 MB / 1.466 GB, free: 1.266 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.5136, allocations: 51.41 kB / 1.466 GB, free: 1.203 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.5138, allocations: 222.9 kB / 1.466 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.5139, allocations: 25.7 kB / 1.466 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.514, allocations: 136.3 kB / 1.466 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.514, allocations: 51.58 kB / 1.466 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.5141, allocations: 45.69 kB / 1.466 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5143, allocations: 334.8 kB / 1.467 GB, free: 376 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.5145, allocations: 63.95 kB / 1.467 GB, free: 312 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.5148, allocations: 162.2 kB / 1.467 GB, free: 116 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.5152, allocations: 198.7 kB / 1.467 GB, free: 15.89 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5152, allocations: 0 / 1.467 GB, free: 15.89 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001471/0.5167, allocations: 377 kB / 1.468 GB, free: 15.52 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5167, allocations: 8 kB / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5167, allocations: 0 / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.5178, allocations: 165.8 kB / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.518, allocations: 43.89 kB / 1.468 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.522, allocations: 3.041 MB / 1.471 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.5224, allocations: 27.88 kB / 1.471 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.5224, allocations: 11.98 kB / 1.471 GB, free: 11.98 MB / 1.17 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.0001555/0.5226, allocations: 133.7 kB / 1.471 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.5226, allocations: 19.86 kB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.5239, allocations: 378.2 kB / 1.471 GB, free: 11.44 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.5239, allocations: 4 kB / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.5239, allocations: 0 / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5239, allocations: 0 / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.5243, allocations: 228.6 kB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5243, allocations: 0 / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.5244, allocations: 19.98 kB / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007801/0.5252, allocations: 137.6 kB / 1.472 GB, free: 11.01 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.5252, allocations: 7.984 kB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/0.529, allocations: 3.087 MB / 1.475 GB, free: 7.672 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.529, allocations: 0 / 1.475 GB, free: 7.672 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.5302, allocations: 431 kB / 1.475 GB, free: 7.23 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5304, allocations: 39.7 kB / 1.475 GB, free: 7.191 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.5304, allocations: 8 kB / 1.475 GB, free: 7.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.5307, allocations: 15.92 kB / 1.475 GB, free: 7.168 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.5307, allocations: 23.86 kB / 1.475 GB, free: 7.145 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.5308, allocations: 8 kB / 1.475 GB, free: 7.137 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001931/0.5309, allocations: 159.2 kB / 1.475 GB, free: 6.98 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5309, allocations: 7.938 kB / 1.475 GB, free: 6.973 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004214/0.5314, allocations: 67.94 kB / 1.475 GB, free: 6.906 MB / 1.17 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.001643/0.533, allocations: 0.9734 MB / 1.476 GB, free: 5.898 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.5341, allocations: 440.5 kB / 1.477 GB, free: 5.445 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5341, allocations: 448 / 1.477 GB, free: 5.445 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/0.5348, allocations: 359.4 kB / 1.477 GB, free: 5.07 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.5352, allocations: 67.98 kB / 1.477 GB, free: 5.004 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.5405, allocations: 2.514 MB / 1.48 GB, free: 2.355 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.5406, allocations: 140.4 kB / 1.48 GB, free: 2.199 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001908/0.5408, allocations: 33.89 kB / 1.48 GB, free: 2.168 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.5409, allocations: 51.41 kB / 1.48 GB, free: 2.117 MB / 1.17 GB Notification: Performance of SimCode: time 4.8e-07/0.5409, allocations: 0 / 1.48 GB, free: 2.117 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05527/0.5962, allocations: 8.103 MB / 1.488 GB, free: 10.24 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.56, allocations: 1.828 kB / 1.488 GB, free: 10.24 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.674128435988678]