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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001775/0.001775, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.2 MB / 0.6642 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.91 kB / 0.8118 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8013, allocations: 140.4 MB / 0.9489 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002849/0.8042, allocations: 1.972 MB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.9971, allocations: 153.1 MB / 1.1 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.9974, allocations: 0 / 1.1 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.9977, allocations: 23.8 kB / 1.1 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.998, allocations: 59.56 kB / 1.1 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.9988, allocations: 231.4 kB / 1.101 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.9991, allocations: 259.1 kB / 1.101 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.9992, allocations: 56.39 kB / 1.101 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/1.001, allocations: 229.4 kB / 1.101 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/1.001, allocations: 91.61 kB / 1.101 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/1.001, allocations: 8 kB / 1.101 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/1.002, allocations: 183.7 kB / 1.101 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/1.002, allocations: 39.83 kB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/1.002, allocations: 87.52 kB / 1.102 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/1.002, allocations: 271.2 kB / 1.102 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.002, allocations: 8 kB / 1.102 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.186e-06/1.002, allocations: 4 kB / 1.102 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.94e-06/1.002, allocations: 0 / 1.102 GB, free: 4.961 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.001113/1.004, allocations: 0.5315 MB / 1.102 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.004, allocations: 8.031 kB / 1.102 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009489/1.005, allocations: 83.62 kB / 1.102 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/1.005, allocations: 227.9 kB / 1.103 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/1.005, allocations: 46.02 kB / 1.103 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/1.005, allocations: 16 kB / 1.103 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/1.006, allocations: 262.5 kB / 1.103 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.006, allocations: 3.984 kB / 1.103 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/1.006, allocations: 12 kB / 1.103 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.006, allocations: 4 kB / 1.103 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/1.006, allocations: 167.8 kB / 1.103 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/1.008, allocations: 1.173 MB / 1.104 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.01, allocations: 206.7 kB / 1.105 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/1.01, allocations: 72.75 kB / 1.105 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/1.01, allocations: 4 kB / 1.105 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/1.01, allocations: 38.5 kB / 1.105 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/1.01, allocations: 0 / 1.105 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.003905/1.014, allocations: 0.6261 MB / 1.105 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/1.014, allocations: 55.41 kB / 1.105 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/1.014, allocations: 219 kB / 1.106 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/1.014, allocations: 25.7 kB / 1.106 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/1.015, allocations: 144 kB / 1.106 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/1.015, allocations: 43.36 kB / 1.106 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.015, allocations: 45.69 kB / 1.106 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002124/1.015, allocations: 326.8 kB / 1.106 GB, free: 352 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/1.015, allocations: 71.94 kB / 1.106 GB, free: 280 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/1.016, allocations: 135.6 kB / 1.106 GB, free: 116 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/1.016, allocations: 196.3 kB / 1.106 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.016, allocations: 4 kB / 1.106 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002164/1.019, allocations: 378.8 kB / 1.107 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/1.019, allocations: 9.906 kB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.019, allocations: 3.984 kB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/1.02, allocations: 153.5 kB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/1.021, allocations: 43.95 kB / 1.107 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005681/1.026, allocations: 3.026 MB / 1.11 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/1.027, allocations: 35.77 kB / 1.11 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/1.027, allocations: 11.98 kB / 1.11 GB, free: 11.95 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.0002252/1.027, allocations: 139.5 kB / 1.11 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/1.027, allocations: 19.75 kB / 1.11 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/1.029, allocations: 372.3 kB / 1.111 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.029, allocations: 0 / 1.111 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.029, allocations: 7.938 kB / 1.111 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.029, allocations: 0 / 1.111 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/1.03, allocations: 269.4 kB / 1.111 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.03, allocations: 0 / 1.111 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/1.03, allocations: 31.92 kB / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/1.031, allocations: 157.7 kB / 1.111 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/1.031, allocations: 4 kB / 1.111 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005095/1.036, allocations: 3.084 MB / 1.114 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.037, allocations: 4.062 kB / 1.114 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/1.038, allocations: 430.3 kB / 1.114 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/1.039, allocations: 112.8 kB / 1.115 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/1.039, allocations: 4 kB / 1.115 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/1.039, allocations: 19.98 kB / 1.115 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.039, allocations: 19.91 kB / 1.115 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/1.039, allocations: 8 kB / 1.115 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002871/1.04, allocations: 155.2 kB / 1.115 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.04, allocations: 0 / 1.115 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007752/1.04, allocations: 75.84 kB / 1.115 GB, free: 6.684 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.0002717/1.041, allocations: 119.2 kB / 1.115 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.042, allocations: 442.9 kB / 1.115 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.042, allocations: 0 / 1.115 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009637/1.043, allocations: 349.3 kB / 1.116 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/1.044, allocations: 58.94 kB / 1.116 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/1.046, allocations: 0.4891 MB / 1.116 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/1.046, allocations: 0.7323 MB / 1.117 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003442/1.047, allocations: 33.94 kB / 1.117 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/1.047, allocations: 31.42 kB / 1.117 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/1.047, allocations: 0 / 1.117 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of Templates: time 0.01498/1.062, allocations: 4.959 MB / 1.122 GB, free: 15.44 MB / 0.8887 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 -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/jenkins/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