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.00164/0.00164, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001838/0.001838, allocations: 196.1 kB / 16.91 MB, free: 6.184 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.692/2.692, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001994, allocations: 65.45 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3452, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003444/0.3486, allocations: 1.98 MB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7332/1.082, allocations: 153.2 MB / 1.216 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/1.082, allocations: 5.312 kB / 1.216 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/1.082, allocations: 21.31 kB / 1.216 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003305/1.083, allocations: 64.34 kB / 1.216 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/1.084, allocations: 236.3 kB / 1.216 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003138/1.084, allocations: 258 kB / 1.216 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/1.084, allocations: 79.67 kB / 1.216 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/1.086, allocations: 246.6 kB / 1.217 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/1.087, allocations: 94.38 kB / 1.217 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/1.087, allocations: 14.34 kB / 1.217 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/1.087, allocations: 178.1 kB / 1.217 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/1.087, allocations: 47.83 kB / 1.217 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/1.087, allocations: 93.61 kB / 1.217 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/1.088, allocations: 200.3 kB / 1.217 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.088, allocations: 5.312 kB / 1.217 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/1.088, allocations: 0 / 1.217 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.706e-06/1.088, allocations: 0 / 1.217 GB, free: 9.355 MB / 0.9356 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.001063/1.089, allocations: 0.5277 MB / 1.218 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.089, allocations: 10.25 kB / 1.218 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008924/1.09, allocations: 80.5 kB / 1.218 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/1.09, allocations: 239.5 kB / 1.218 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/1.09, allocations: 41.81 kB / 1.218 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/1.09, allocations: 13.72 kB / 1.218 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/1.091, allocations: 264.3 kB / 1.218 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.091, allocations: 0 / 1.218 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/1.091, allocations: 10.75 kB / 1.218 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.091, allocations: 4.125 kB / 1.218 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/1.091, allocations: 166.4 kB / 1.218 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/1.093, allocations: 1.184 MB / 1.22 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/1.094, allocations: 203.2 kB / 1.22 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/1.094, allocations: 71.19 kB / 1.22 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/1.094, allocations: 5.375 kB / 1.22 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/1.094, allocations: 35.94 kB / 1.22 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/1.094, allocations: 1.375 kB / 1.22 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.002866/1.097, allocations: 0.6202 MB / 1.221 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/1.097, allocations: 56.81 kB / 1.221 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/1.097, allocations: 221.7 kB / 1.221 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/1.097, allocations: 26.86 kB / 1.221 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/1.097, allocations: 144.5 kB / 1.221 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/1.098, allocations: 44.66 kB / 1.221 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/1.098, allocations: 45.19 kB / 1.221 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.098, allocations: 326.5 kB / 1.221 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/1.098, allocations: 72.12 kB / 1.221 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/1.098, allocations: 131.5 kB / 1.222 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/1.099, allocations: 199 kB / 1.222 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.099, allocations: 1.188 kB / 1.222 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001572/1.1, allocations: 371 kB / 1.222 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.101, allocations: 11.38 kB / 1.222 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.101, allocations: 2.406 kB / 1.222 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/1.102, allocations: 164.9 kB / 1.222 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/1.102, allocations: 41.59 kB / 1.222 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004586/1.107, allocations: 3.262 MB / 1.225 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/1.107, allocations: 31.36 kB / 1.225 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/1.107, allocations: 12.84 kB / 1.226 GB, free: 1.895 MB / 0.9356 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.0001815/1.107, allocations: 142.1 kB / 1.226 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/1.107, allocations: 15.81 kB / 1.226 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/1.109, allocations: 365.1 kB / 1.226 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.109, allocations: 0 / 1.226 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.109, allocations: 3.984 kB / 1.226 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.109, allocations: 2.281 kB / 1.226 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/1.109, allocations: 281.9 kB / 1.226 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.109, allocations: 0 / 1.226 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/1.109, allocations: 31.72 kB / 1.226 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008819/1.11, allocations: 148.2 kB / 1.226 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.11, allocations: 0 / 1.226 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/1.114, allocations: 3.298 MB / 1.23 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.114, allocations: 0 / 1.23 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/1.116, allocations: 434.6 kB / 1.23 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/1.116, allocations: 114.9 kB / 1.23 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/1.116, allocations: 6.75 kB / 1.23 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/1.116, allocations: 14.05 kB / 1.23 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.116, allocations: 25.69 kB / 1.23 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/1.117, allocations: 2.562 kB / 1.23 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002067/1.117, allocations: 161 kB / 1.23 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.117, allocations: 0 / 1.23 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004862/1.117, allocations: 68.31 kB / 1.23 GB, free: 13.36 MB / 0.9512 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.0002629/1.117, allocations: 121.4 kB / 1.231 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001131/1.119, allocations: 449.4 kB / 1.231 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.119, allocations: 0 / 1.231 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/1.119, allocations: 364.4 kB / 1.231 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/1.12, allocations: 66.02 kB / 1.231 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/1.121, allocations: 0.5123 MB / 1.232 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/1.121, allocations: 0.7308 MB / 1.233 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/1.121, allocations: 23.08 kB / 1.233 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of SimCode: time 6.81e-07/1.121, allocations: 0 / 1.233 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.007757/1.129, allocations: 4.419 MB / 1.237 GB, free: 7.359 MB / 0.9512 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=400 -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/jenkins1/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