Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009474/0.0009472, allocations: 185.3 kB / 16.92 MB, free: 6.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 10.59 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3403, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002099/0.3425, allocations: 1.626 MB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.5099, allocations: 151.5 MB / 1.209 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.5101, allocations: 0 / 1.209 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.5103, allocations: 19.8 kB / 1.209 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.5106, allocations: 71.59 kB / 1.209 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.5113, allocations: 227.3 kB / 1.209 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.5116, allocations: 259.1 kB / 1.209 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.5118, allocations: 70.61 kB / 1.209 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.5137, allocations: 217.6 kB / 1.21 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.5138, allocations: 75.62 kB / 1.21 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.5138, allocations: 4 kB / 1.21 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.5142, allocations: 179.7 kB / 1.21 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.5143, allocations: 31.83 kB / 1.21 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.5144, allocations: 105.2 kB / 1.21 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.5146, allocations: 195.5 kB / 1.21 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5147, allocations: 0 / 1.21 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5147, allocations: 0 / 1.21 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5147, allocations: 4 kB / 1.21 GB, free: 9.879 MB / 0.9669 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.0008852/0.5156, allocations: 0.4951 MB / 1.211 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5156, allocations: 15.91 kB / 1.211 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008322/0.5164, allocations: 83.72 kB / 1.211 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.5167, allocations: 234.5 kB / 1.211 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-05/0.5168, allocations: 46.03 kB / 1.211 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.5169, allocations: 16 kB / 1.211 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.5174, allocations: 270.5 kB / 1.211 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5174, allocations: 0 / 1.211 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.5175, allocations: 8 kB / 1.211 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5175, allocations: 4 kB / 1.211 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.518, allocations: 183.8 kB / 1.212 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.5196, allocations: 1.173 MB / 1.213 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/0.5203, allocations: 214.6 kB / 1.213 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.5205, allocations: 76.81 kB / 1.213 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.5205, allocations: 3.984 kB / 1.213 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.5206, allocations: 38.56 kB / 1.213 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 2.845e-06/0.5206, allocations: 0 / 1.213 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.002732/0.5233, allocations: 0.6491 MB / 1.214 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.5234, allocations: 55.41 kB / 1.214 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.5236, allocations: 214.9 kB / 1.214 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.5237, allocations: 29.7 kB / 1.214 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.5238, allocations: 136 kB / 1.214 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.5238, allocations: 47.39 kB / 1.214 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.5238, allocations: 17.72 kB / 1.214 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.524, allocations: 338.8 kB / 1.214 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.5242, allocations: 67.95 kB / 1.214 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.5245, allocations: 142.2 kB / 1.215 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.5249, allocations: 209 kB / 1.215 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5249, allocations: 0 / 1.215 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001446/0.5264, allocations: 394.6 kB / 1.215 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5264, allocations: 8 kB / 1.215 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5264, allocations: 0 / 1.215 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.5275, allocations: 165.8 kB / 1.215 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.5277, allocations: 43.91 kB / 1.215 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.5314, allocations: 3.038 MB / 1.218 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.5318, allocations: 35.8 kB / 1.218 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.5318, allocations: 8 kB / 1.218 GB, free: 0.8242 MB / 0.9669 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.0001315/0.532, allocations: 129.8 kB / 1.219 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.532, allocations: 27.72 kB / 1.219 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.5334, allocations: 378.5 kB / 1.219 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5334, allocations: 4 kB / 1.219 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5334, allocations: 3.938 kB / 1.219 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5334, allocations: 3.984 kB / 1.219 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.5337, allocations: 273.4 kB / 1.219 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5337, allocations: 0 / 1.219 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.5339, allocations: 35.91 kB / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009592/0.5349, allocations: 153.5 kB / 1.219 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5349, allocations: 12 kB / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.5383, allocations: 3.076 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5383, allocations: 4.031 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.5396, allocations: 440.6 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.5397, allocations: 124.8 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.5397, allocations: 4 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.54, allocations: 15.98 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.5401, allocations: 23.97 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.5401, allocations: 4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001796/0.5403, allocations: 159.2 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5403, allocations: 7.938 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003965/0.5407, allocations: 68 kB / 1.223 GB, free: 11.52 MB / 0.9825 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.0002056/0.5409, allocations: 107.2 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.542, allocations: 457.5 kB / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.542, allocations: 0 / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006733/0.5427, allocations: 370.9 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.5431, allocations: 63.44 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.5441, allocations: 0.5201 MB / 1.225 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.5444, allocations: 0.7362 MB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.5445, allocations: 27.42 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.5445, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of Templates: time 0.006685/0.5512, allocations: 4.379 MB / 1.23 GB, free: 4.777 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches