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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001209/0.001209, allocations: 108.6 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001538, allocations: 64.11 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9457/0.9473, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003238/0.9505, allocations: 1.927 MB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.18/1.131, allocations: 155.4 MB / 1.362 GB, free: 15.71 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/1.131, allocations: 4 kB / 1.362 GB, free: 15.7 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0002329/1.131, allocations: 23.73 kB / 1.362 GB, free: 15.68 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0004382/1.132, allocations: 79.41 kB / 1.362 GB, free: 15.6 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008892/1.133, allocations: 267.1 kB / 1.362 GB, free: 15.34 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0004106/1.133, allocations: 267.1 kB / 1.363 GB, free: 15.08 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/1.133, allocations: 70.19 kB / 1.363 GB, free: 15.01 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/1.135, allocations: 259.2 kB / 1.363 GB, free: 14.79 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/1.135, allocations: 91.61 kB / 1.363 GB, free: 14.7 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/1.135, allocations: 16 kB / 1.363 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/1.135, allocations: 179.8 kB / 1.363 GB, free: 14.51 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/1.135, allocations: 47.83 kB / 1.363 GB, free: 14.46 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/1.136, allocations: 87.59 kB / 1.363 GB, free: 14.38 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005963/1.136, allocations: 281 kB / 1.364 GB, free: 14.1 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.136, allocations: 0 / 1.364 GB, free: 14.1 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.717e-06/1.136, allocations: 0 / 1.364 GB, free: 14.1 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.136, allocations: 3.938 kB / 1.364 GB, free: 14.1 MB / 1.092 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.001083/1.137, allocations: 0.5262 MB / 1.364 GB, free: 13.52 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.137, allocations: 8.031 kB / 1.364 GB, free: 13.52 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009043/1.138, allocations: 87.72 kB / 1.364 GB, free: 13.43 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/1.139, allocations: 226.6 kB / 1.364 GB, free: 13.17 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/1.139, allocations: 41.97 kB / 1.365 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/1.139, allocations: 20 kB / 1.365 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/1.139, allocations: 258.6 kB / 1.365 GB, free: 12.82 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.139, allocations: 3.938 kB / 1.365 GB, free: 12.82 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/1.139, allocations: 8 kB / 1.365 GB, free: 12.81 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.139, allocations: 4 kB / 1.365 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/1.14, allocations: 171.8 kB / 1.365 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/1.142, allocations: 1.18 MB / 1.366 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007615/1.142, allocations: 210.6 kB / 1.366 GB, free: 11.16 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/1.143, allocations: 72.81 kB / 1.366 GB, free: 11.09 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/1.143, allocations: 4 kB / 1.366 GB, free: 11.09 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.143, allocations: 30.56 kB / 1.366 GB, free: 11.05 MB / 1.092 GB Notification: Performance of pre-optimization done (n=12): time 1.684e-06/1.143, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.092 GB Notification: Performance of matching and sorting (n=12): time 0.002726/1.145, allocations: 0.6258 MB / 1.367 GB, free: 10.37 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/1.145, allocations: 55.41 kB / 1.367 GB, free: 10.3 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/1.146, allocations: 211 kB / 1.367 GB, free: 10.09 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/1.146, allocations: 33.7 kB / 1.367 GB, free: 10.05 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/1.146, allocations: 143.9 kB / 1.367 GB, free: 9.902 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/1.146, allocations: 35.45 kB / 1.367 GB, free: 9.867 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/1.146, allocations: 53.58 kB / 1.368 GB, free: 9.809 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.146, allocations: 330.8 kB / 1.368 GB, free: 9.477 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/1.146, allocations: 71.95 kB / 1.368 GB, free: 9.406 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/1.147, allocations: 130.3 kB / 1.368 GB, free: 9.254 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/1.147, allocations: 206.7 kB / 1.368 GB, free: 9.027 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.147, allocations: 0 / 1.368 GB, free: 9.027 MB / 1.092 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001479/1.149, allocations: 374.7 kB / 1.369 GB, free: 8.648 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.149, allocations: 4 kB / 1.369 GB, free: 8.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.149, allocations: 4 kB / 1.369 GB, free: 8.641 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/1.15, allocations: 161.8 kB / 1.369 GB, free: 8.477 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/1.15, allocations: 43.89 kB / 1.369 GB, free: 8.434 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/1.154, allocations: 3.243 MB / 1.372 GB, free: 4.906 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/1.154, allocations: 35.7 kB / 1.372 GB, free: 4.871 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/1.154, allocations: 11.98 kB / 1.372 GB, free: 4.859 MB / 1.092 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.0001561/1.155, allocations: 125.8 kB / 1.372 GB, free: 4.727 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/1.155, allocations: 23.72 kB / 1.372 GB, free: 4.703 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.156, allocations: 378.2 kB / 1.373 GB, free: 4.32 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.156, allocations: 4 kB / 1.373 GB, free: 4.316 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/1.156, allocations: 0 / 1.373 GB, free: 4.316 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.156, allocations: 0 / 1.373 GB, free: 4.316 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/1.156, allocations: 289.2 kB / 1.373 GB, free: 3.984 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.156, allocations: 4 kB / 1.373 GB, free: 3.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/1.157, allocations: 23.98 kB / 1.373 GB, free: 3.957 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008382/1.157, allocations: 133.6 kB / 1.373 GB, free: 3.82 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/1.157, allocations: 8.141 kB / 1.373 GB, free: 3.812 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/1.161, allocations: 3.304 MB / 1.376 GB, free: 224 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.161, allocations: 128 / 1.376 GB, free: 224 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/1.162, allocations: 432.7 kB / 1.377 GB, free: 15.77 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.163, allocations: 112.8 kB / 1.377 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/1.163, allocations: 4 kB / 1.377 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/1.163, allocations: 15.98 kB / 1.377 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/1.163, allocations: 19.91 kB / 1.377 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/1.163, allocations: 8 kB / 1.377 GB, free: 15.6 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001916/1.163, allocations: 163.2 kB / 1.377 GB, free: 15.44 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.41e-07/1.163, allocations: 0 / 1.377 GB, free: 15.44 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004715/1.164, allocations: 71.94 kB / 1.377 GB, free: 15.37 MB / 1.107 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.0002145/1.164, allocations: 115.2 kB / 1.377 GB, free: 15.24 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.165, allocations: 456.8 kB / 1.378 GB, free: 14.77 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.165, allocations: 0 / 1.378 GB, free: 14.77 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006984/1.166, allocations: 349.5 kB / 1.378 GB, free: 14.41 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/1.166, allocations: 56.33 kB / 1.378 GB, free: 14.35 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.167, allocations: 452.6 kB / 1.378 GB, free: 13.88 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/1.168, allocations: 0.7363 MB / 1.379 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/1.168, allocations: 23.44 kB / 1.379 GB, free: 13.09 MB / 1.107 GB Notification: Performance of SimCode: time 6.82e-07/1.168, allocations: 0 / 1.379 GB, free: 13.09 MB / 1.107 GB Notification: Performance of Templates: time 0.007495/1.175, allocations: 4.436 MB / 1.383 GB, free: 8.672 MB / 1.107 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