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) 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.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_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_11_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.007678/0.007678, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001307/0.001307, allocations: 192.9 kB / 16.67 MB, free: 5.887 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.9009, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003042/0.9039, allocations: 1.922 MB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.196/1.1, allocations: 155.8 MB / 1.375 GB, free: 3.734 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/1.1, allocations: 4 kB / 1.375 GB, free: 3.73 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/1.101, allocations: 31.66 kB / 1.375 GB, free: 3.699 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0005397/1.101, allocations: 75.42 kB / 1.375 GB, free: 3.625 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/1.102, allocations: 269.1 kB / 1.375 GB, free: 3.363 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005286/1.103, allocations: 271.1 kB / 1.375 GB, free: 3.098 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/1.103, allocations: 50.41 kB / 1.375 GB, free: 3.047 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/1.105, allocations: 251.2 kB / 1.376 GB, free: 2.824 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/1.105, allocations: 87.61 kB / 1.376 GB, free: 2.738 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/1.105, allocations: 16 kB / 1.376 GB, free: 2.723 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/1.105, allocations: 187.7 kB / 1.376 GB, free: 2.539 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/1.105, allocations: 43.83 kB / 1.376 GB, free: 2.496 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/1.106, allocations: 91.53 kB / 1.376 GB, free: 2.406 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007296/1.106, allocations: 287.4 kB / 1.376 GB, free: 2.129 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.106, allocations: 4 kB / 1.376 GB, free: 2.125 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.463e-06/1.106, allocations: 0 / 1.376 GB, free: 2.125 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.106, allocations: 0 / 1.376 GB, free: 2.125 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.00117/1.108, allocations: 0.5297 MB / 1.377 GB, free: 1.547 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.108, allocations: 12.61 kB / 1.377 GB, free: 1.535 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000937/1.109, allocations: 83.83 kB / 1.377 GB, free: 1.453 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/1.109, allocations: 230.7 kB / 1.377 GB, free: 1.188 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.109, allocations: 49.97 kB / 1.377 GB, free: 1.133 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/1.109, allocations: 12 kB / 1.377 GB, free: 1.121 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/1.11, allocations: 266.5 kB / 1.377 GB, free: 0.832 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.11, allocations: 4 kB / 1.377 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.11, allocations: 4 kB / 1.377 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/1.11, allocations: 11.94 kB / 1.377 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/1.11, allocations: 164.3 kB / 1.378 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/1.112, allocations: 1.185 MB / 1.379 GB, free: 15.39 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/1.113, allocations: 194.7 kB / 1.379 GB, free: 15.19 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/1.113, allocations: 72.73 kB / 1.379 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/1.113, allocations: 4 kB / 1.379 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/1.113, allocations: 30.56 kB / 1.379 GB, free: 15.07 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.704e-06/1.113, allocations: 0 / 1.379 GB, free: 15.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=12): time 0.002909/1.116, allocations: 0.6259 MB / 1.38 GB, free: 14.4 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/1.116, allocations: 55.41 kB / 1.38 GB, free: 14.33 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/1.117, allocations: 218.7 kB / 1.38 GB, free: 14.11 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/1.117, allocations: 33.7 kB / 1.38 GB, free: 14.07 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.117, allocations: 140.2 kB / 1.38 GB, free: 13.93 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/1.117, allocations: 43.64 kB / 1.38 GB, free: 13.88 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.117, allocations: 53.67 kB / 1.38 GB, free: 13.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.117, allocations: 326.8 kB / 1.38 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/1.117, allocations: 67.95 kB / 1.381 GB, free: 13.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/1.118, allocations: 137.7 kB / 1.381 GB, free: 13.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/1.118, allocations: 200.3 kB / 1.381 GB, free: 13.05 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/1.118, allocations: 0 / 1.381 GB, free: 13.05 MB / 1.107 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001493/1.12, allocations: 370.7 kB / 1.381 GB, free: 12.68 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.12, allocations: 8 kB / 1.381 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.12, allocations: 0 / 1.381 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/1.121, allocations: 165.7 kB / 1.381 GB, free: 12.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.121, allocations: 39.95 kB / 1.381 GB, free: 12.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/1.127, allocations: 3.259 MB / 1.385 GB, free: 8.922 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/1.127, allocations: 27.83 kB / 1.385 GB, free: 8.895 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/1.127, allocations: 19.97 kB / 1.385 GB, free: 8.875 MB / 1.107 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.0003758/1.127, allocations: 137.7 kB / 1.385 GB, free: 8.73 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/1.128, allocations: 15.91 kB / 1.385 GB, free: 8.715 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/1.129, allocations: 370.4 kB / 1.385 GB, free: 8.336 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.129, allocations: 0 / 1.385 GB, free: 8.336 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.129, allocations: 0 / 1.385 GB, free: 8.336 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.129, allocations: 0 / 1.385 GB, free: 8.336 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/1.129, allocations: 285.3 kB / 1.385 GB, free: 8.008 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.129, allocations: 192 / 1.385 GB, free: 8.008 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/1.13, allocations: 23.92 kB / 1.385 GB, free: 7.984 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008593/1.13, allocations: 141.5 kB / 1.386 GB, free: 7.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/1.13, allocations: 8 kB / 1.386 GB, free: 7.832 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004661/1.135, allocations: 3.305 MB / 1.389 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.135, allocations: 0 / 1.389 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.136, allocations: 428.8 kB / 1.389 GB, free: 3.793 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/1.137, allocations: 116.9 kB / 1.389 GB, free: 3.66 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/1.137, allocations: 4 kB / 1.389 GB, free: 3.656 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/1.137, allocations: 15.98 kB / 1.389 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/1.137, allocations: 19.97 kB / 1.389 GB, free: 3.621 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/1.137, allocations: 4 kB / 1.389 GB, free: 3.617 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002071/1.137, allocations: 163.2 kB / 1.39 GB, free: 3.457 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/1.137, allocations: 0 / 1.39 GB, free: 3.457 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005105/1.138, allocations: 67.94 kB / 1.39 GB, free: 3.391 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.0002649/1.138, allocations: 127.1 kB / 1.39 GB, free: 3.254 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001245/1.139, allocations: 447.8 kB / 1.39 GB, free: 2.793 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.139, allocations: 4 kB / 1.39 GB, free: 2.789 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006778/1.14, allocations: 349.2 kB / 1.39 GB, free: 2.422 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/1.14, allocations: 62.12 kB / 1.391 GB, free: 2.363 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/1.142, allocations: 423.8 kB / 1.391 GB, free: 1.926 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/1.142, allocations: 0.7363 MB / 1.392 GB, free: 1.164 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.142, allocations: 41.86 kB / 1.392 GB, free: 1.125 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/1.142, allocations: 23.42 kB / 1.392 GB, free: 1.102 MB / 1.107 GB Notification: Performance of SimCode: time 8.91e-07/1.142, allocations: 0 / 1.392 GB, free: 1.102 MB / 1.107 GB Notification: Performance of Templates: time 0.01187/1.154, allocations: 5.366 MB / 1.397 GB, free: 11.79 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (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 & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches