Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001202/0.001202, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.00121/0.00121, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.214/1.214, 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 9.1.2-maint.9.1.x/package.mo): time 2.029/2.029, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001184, allocations: 68.55 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2243, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00287/0.2272, allocations: 1.904 MB / 0.953 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5624/0.7896, allocations: 155.4 MB / 1.105 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.7898, allocations: 1.969 kB / 1.105 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.7901, allocations: 28.11 kB / 1.105 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.7904, allocations: 76.67 kB / 1.105 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.7912, allocations: 262.7 kB / 1.105 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.7915, allocations: 266.7 kB / 1.105 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.7917, allocations: 66.91 kB / 1.105 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.7928, allocations: 245 kB / 1.106 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.793, allocations: 91.73 kB / 1.106 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.793, allocations: 16.59 kB / 1.106 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.7934, allocations: 178.9 kB / 1.106 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.7935, allocations: 53.66 kB / 1.106 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.7936, allocations: 90 kB / 1.106 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.7942, allocations: 281.1 kB / 1.106 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7942, allocations: 0 / 1.106 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7942, allocations: 3.281 kB / 1.106 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.7942, allocations: 0 / 1.106 GB, free: 5.367 MB / 0.8575 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.001163/0.7954, allocations: 0.5254 MB / 1.107 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.7954, allocations: 9.766 kB / 1.107 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008085/0.7962, allocations: 87.17 kB / 1.107 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.7965, allocations: 232.2 kB / 1.107 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.851e-05/0.7966, allocations: 40.27 kB / 1.107 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.7967, allocations: 21.94 kB / 1.107 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.7972, allocations: 259.2 kB / 1.107 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.7972, allocations: 10.89 kB / 1.107 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.7972, allocations: 5.25 kB / 1.107 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.7973, allocations: 4.875 kB / 1.108 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.7977, allocations: 166.2 kB / 1.108 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.7992, allocations: 1.174 MB / 1.109 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.8, allocations: 206.5 kB / 1.109 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.8002, allocations: 71.8 kB / 1.109 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.8002, allocations: 4.625 kB / 1.109 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.8002, allocations: 37.91 kB / 1.109 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.8002, allocations: 0 / 1.109 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.002574/0.8028, allocations: 0.63 MB / 1.11 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.8029, allocations: 54.88 kB / 1.11 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.8031, allocations: 211.9 kB / 1.11 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.8032, allocations: 31.84 kB / 1.11 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.8033, allocations: 139.2 kB / 1.11 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.8033, allocations: 42.67 kB / 1.11 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.8034, allocations: 52.05 kB / 1.11 GB, free: 19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8035, allocations: 330.7 kB / 1.111 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.8037, allocations: 67.72 kB / 1.111 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.804, allocations: 140.8 kB / 1.111 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.8044, allocations: 200.6 kB / 1.111 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8044, allocations: 0.8438 kB / 1.111 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001318/0.8057, allocations: 371.5 kB / 1.111 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8057, allocations: 6.703 kB / 1.111 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8057, allocations: 1.781 kB / 1.111 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.8068, allocations: 162.6 kB / 1.111 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.807, allocations: 42.42 kB / 1.112 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/0.8106, allocations: 3.246 MB / 1.115 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.811, allocations: 33.66 kB / 1.115 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.811, allocations: 9.078 kB / 1.115 GB, free: 15.66 MB / 0.8731 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.0001214/0.8111, allocations: 146.9 kB / 1.115 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.8112, allocations: 16.55 kB / 1.115 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.8124, allocations: 375.6 kB / 1.115 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8124, allocations: 2.625 kB / 1.115 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.8124, allocations: 0.6562 kB / 1.115 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8124, allocations: 0.7969 kB / 1.115 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.8127, allocations: 279.7 kB / 1.115 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8127, allocations: 1.984 kB / 1.115 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.8128, allocations: 21.92 kB / 1.116 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007241/0.8135, allocations: 142.5 kB / 1.116 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.8136, allocations: 6.578 kB / 1.116 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/0.8168, allocations: 3.296 MB / 1.119 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8168, allocations: 0 / 1.119 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.8179, allocations: 431.9 kB / 1.119 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.818, allocations: 114.2 kB / 1.119 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.8181, allocations: 5.031 kB / 1.119 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.8183, allocations: 21.34 kB / 1.119 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.8184, allocations: 19.39 kB / 1.119 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.8184, allocations: 9.031 kB / 1.119 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001726/0.8186, allocations: 158.2 kB / 1.12 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8186, allocations: 1.188 kB / 1.12 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004017/0.819, allocations: 77.16 kB / 1.12 GB, free: 12.08 MB / 0.8731 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.0001601/0.8192, allocations: 117.3 kB / 1.12 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009111/0.8201, allocations: 446.1 kB / 1.12 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8201, allocations: 1.203 kB / 1.12 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.8207, allocations: 356 kB / 1.121 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.8211, allocations: 57.34 kB / 1.121 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.8219, allocations: 428 kB / 1.121 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.8222, allocations: 0.736 MB / 1.122 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.8224, allocations: 32.28 kB / 1.122 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.8224, allocations: 25.08 kB / 1.122 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8224, allocations: 0 / 1.122 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.008706/0.8312, allocations: 5.296 MB / 1.127 GB, free: 10.31 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches