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.001992/0.001992, allocations: 103 kB / 16.45 MB, free: 6.5 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.00214/0.00214, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.594/1.594, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.206/3.206, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.002186/0.002186, allocations: 71.11 kB / 1.149 GB, free: 26.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3303, allocations: 176.1 MB / 1.321 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00319/0.3335, allocations: 1.941 MB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.5125, allocations: 158.8 MB / 1.478 GB, free: 2.184 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.5127, allocations: 0 / 1.478 GB, free: 2.184 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.5129, allocations: 27.73 kB / 1.478 GB, free: 2.156 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.5132, allocations: 75.41 kB / 1.478 GB, free: 2.082 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.514, allocations: 267.1 kB / 1.478 GB, free: 1.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.5143, allocations: 275 kB / 1.478 GB, free: 1.551 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.5145, allocations: 46.42 kB / 1.478 GB, free: 1.504 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.516, allocations: 254.6 kB / 1.479 GB, free: 1.281 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.5161, allocations: 95.59 kB / 1.479 GB, free: 1.188 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.5162, allocations: 16 kB / 1.479 GB, free: 1.172 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.5166, allocations: 191.7 kB / 1.479 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.683e-05/0.5166, allocations: 47.83 kB / 1.479 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.5167, allocations: 91.53 kB / 1.479 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.5172, allocations: 298.8 kB / 1.479 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5172, allocations: 0 / 1.479 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5172, allocations: 0 / 1.479 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5172, allocations: 0 / 1.479 GB, free: 0.5547 MB / 1.17 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.001001/0.5182, allocations: 0.5337 MB / 1.48 GB, free: 15.97 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5183, allocations: 11.98 kB / 1.48 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.5183, allocations: 50.55 kB / 1.48 GB, free: 15.9 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5195, allocations: 115.7 kB / 1.48 GB, free: 15.79 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.5198, allocations: 230.5 kB / 1.48 GB, free: 15.52 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/0.5199, allocations: 46.03 kB / 1.48 GB, free: 15.47 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.5199, allocations: 16 kB / 1.48 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.5205, allocations: 262.5 kB / 1.481 GB, free: 15.17 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5205, allocations: 0 / 1.481 GB, free: 15.17 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.5205, allocations: 8 kB / 1.481 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5205, allocations: 4 kB / 1.481 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.5211, allocations: 171.7 kB / 1.481 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.5229, allocations: 1.177 MB / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/0.5236, allocations: 206.6 kB / 1.482 GB, free: 13.53 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.5238, allocations: 64.81 kB / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.5239, allocations: 0 / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.5239, allocations: 42.5 kB / 1.482 GB, free: 13.41 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.5239, allocations: 4 kB / 1.482 GB, free: 13.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=12): time 0.002799/0.5267, allocations: 0.6181 MB / 1.483 GB, free: 12.74 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.5267, allocations: 67.28 kB / 1.483 GB, free: 12.66 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.527, allocations: 214.8 kB / 1.483 GB, free: 12.44 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.527, allocations: 25.7 kB / 1.483 GB, free: 12.41 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.5271, allocations: 140.2 kB / 1.483 GB, free: 12.27 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.5272, allocations: 47.64 kB / 1.483 GB, free: 12.22 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.5273, allocations: 53.58 kB / 1.483 GB, free: 12.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5274, allocations: 330.8 kB / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.5277, allocations: 63.95 kB / 1.484 GB, free: 11.77 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.528, allocations: 135.6 kB / 1.484 GB, free: 11.61 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.5284, allocations: 194.8 kB / 1.484 GB, free: 11.39 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5284, allocations: 3.938 kB / 1.484 GB, free: 11.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001575/0.53, allocations: 374.8 kB / 1.484 GB, free: 11.01 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.53, allocations: 8 kB / 1.484 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.53, allocations: 0 / 1.484 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.5311, allocations: 173.7 kB / 1.485 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.5314, allocations: 39.91 kB / 1.485 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.5357, allocations: 3.242 MB / 1.488 GB, free: 7.266 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.536, allocations: 39.77 kB / 1.488 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.5361, allocations: 15.86 kB / 1.488 GB, free: 7.211 MB / 1.186 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.000147/0.5362, allocations: 127.6 kB / 1.488 GB, free: 7.078 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.5363, allocations: 28.05 kB / 1.488 GB, free: 7.051 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.5377, allocations: 364.4 kB / 1.488 GB, free: 6.672 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.5377, allocations: 4 kB / 1.488 GB, free: 6.668 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.5377, allocations: 0 / 1.488 GB, free: 6.668 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5377, allocations: 7.875 kB / 1.488 GB, free: 6.66 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.5381, allocations: 285.2 kB / 1.489 GB, free: 6.332 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5381, allocations: 4 kB / 1.489 GB, free: 6.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.5382, allocations: 23.92 kB / 1.489 GB, free: 6.305 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008645/0.5391, allocations: 145.6 kB / 1.489 GB, free: 6.156 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.5391, allocations: 3.984 kB / 1.489 GB, free: 6.152 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.5431, allocations: 3.293 MB / 1.492 GB, free: 2.574 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.5431, allocations: 7.984 kB / 1.492 GB, free: 2.566 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.5444, allocations: 431 kB / 1.492 GB, free: 2.125 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.5446, allocations: 112.9 kB / 1.492 GB, free: 1.996 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.5446, allocations: 4 kB / 1.492 GB, free: 1.992 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.5449, allocations: 19.98 kB / 1.493 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.545, allocations: 15.97 kB / 1.493 GB, free: 1.957 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.545, allocations: 8 kB / 1.493 GB, free: 1.949 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002006/0.5452, allocations: 159.2 kB / 1.493 GB, free: 1.793 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5452, allocations: 0 / 1.493 GB, free: 1.793 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004318/0.5456, allocations: 71.94 kB / 1.493 GB, free: 1.723 MB / 1.186 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.00174/0.5474, allocations: 0.9791 MB / 1.494 GB, free: 0.707 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.5485, allocations: 441.6 kB / 1.494 GB, free: 256 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5485, allocations: 4 kB / 1.494 GB, free: 252 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007391/0.5492, allocations: 351.1 kB / 1.494 GB, free: 15.88 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.5497, allocations: 64.22 kB / 1.495 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.5552, allocations: 2.526 MB / 1.497 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.5556, allocations: 0.74 MB / 1.498 GB, free: 12.39 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.5557, allocations: 37.98 kB / 1.498 GB, free: 12.35 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.5559, allocations: 51.41 kB / 1.498 GB, free: 12.3 MB / 1.201 GB Notification: Performance of SimCode: time 6.51e-07/0.5559, allocations: 0 / 1.498 GB, free: 12.3 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.594, allocations: 7.328 MB / 1.505 GB, free: 5.176 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.75, allocations: 16.7 kB / 1.505 GB, free: 5.16 MB / 1.201 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 19.576935834018514]