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.001719/0.001719, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 190.9 kB / 16.53 MB, free: 6.391 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.568/1.568, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.531/2.531, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8547, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003114/0.8578, allocations: 1.906 MB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2148/1.073, allocations: 155.4 MB / 1.103 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/1.073, allocations: 4 kB / 1.103 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/1.073, allocations: 23.73 kB / 1.103 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/1.074, allocations: 75.41 kB / 1.103 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009699/1.075, allocations: 263.1 kB / 1.104 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003884/1.075, allocations: 267.1 kB / 1.104 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/1.075, allocations: 68.38 kB / 1.104 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/1.077, allocations: 241.7 kB / 1.104 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/1.077, allocations: 103.5 kB / 1.104 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/1.077, allocations: 16 kB / 1.104 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/1.077, allocations: 179.8 kB / 1.104 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/1.078, allocations: 35.91 kB / 1.104 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/1.078, allocations: 99.5 kB / 1.105 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/1.078, allocations: 275.1 kB / 1.105 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/1.078, allocations: 4 kB / 1.105 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/1.078, allocations: 0 / 1.105 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.078, allocations: 0 / 1.105 GB, free: 2.336 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.0009927/1.079, allocations: 0.5223 MB / 1.105 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.079, allocations: 8.031 kB / 1.105 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008762/1.08, allocations: 91.64 kB / 1.105 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/1.08, allocations: 227.1 kB / 1.106 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.08, allocations: 46.03 kB / 1.106 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/1.08, allocations: 16 kB / 1.106 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/1.081, allocations: 266.5 kB / 1.106 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.081, allocations: 0 / 1.106 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/1.081, allocations: 11.94 kB / 1.106 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/1.081, allocations: 11.92 kB / 1.106 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/1.082, allocations: 171.8 kB / 1.106 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/1.083, allocations: 1.181 MB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/1.084, allocations: 206.7 kB / 1.107 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/1.084, allocations: 64.83 kB / 1.108 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/1.084, allocations: 4 kB / 1.108 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.084, allocations: 34.55 kB / 1.108 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/1.084, allocations: 3.938 kB / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.002688/1.087, allocations: 0.6297 MB / 1.108 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/1.087, allocations: 51.41 kB / 1.108 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/1.087, allocations: 215 kB / 1.108 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/1.087, allocations: 29.7 kB / 1.108 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/1.088, allocations: 136 kB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/1.088, allocations: 43.34 kB / 1.109 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.088, allocations: 49.69 kB / 1.109 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.088, allocations: 334.8 kB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/1.088, allocations: 67.95 kB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/1.088, allocations: 132.8 kB / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/1.089, allocations: 194.7 kB / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.089, allocations: 4 kB / 1.109 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001491/1.09, allocations: 370.7 kB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.09, allocations: 4 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.091, allocations: 4 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/1.092, allocations: 165.7 kB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/1.092, allocations: 31.97 kB / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/1.096, allocations: 3.258 MB / 1.113 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/1.096, allocations: 39.66 kB / 1.113 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/1.097, allocations: 11.98 kB / 1.113 GB, free: 9.086 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.0001572/1.097, allocations: 137.7 kB / 1.113 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/1.097, allocations: 15.81 kB / 1.113 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/1.098, allocations: 376.3 kB / 1.114 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.098, allocations: 0 / 1.114 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/1.098, allocations: 0 / 1.114 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.098, allocations: 0 / 1.114 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/1.098, allocations: 285.3 kB / 1.114 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.098, allocations: 0 / 1.114 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/1.099, allocations: 19.98 kB / 1.114 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008728/1.1, allocations: 141.5 kB / 1.114 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/1.1, allocations: 8 kB / 1.114 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003893/1.103, allocations: 3.293 MB / 1.117 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.103, allocations: 4.031 kB / 1.117 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/1.105, allocations: 433.7 kB / 1.118 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/1.105, allocations: 116.7 kB / 1.118 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/1.105, allocations: 4 kB / 1.118 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/1.105, allocations: 15.98 kB / 1.118 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/1.105, allocations: 15.97 kB / 1.118 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/1.105, allocations: 8 kB / 1.118 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002084/1.106, allocations: 163.2 kB / 1.118 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.106, allocations: 0 / 1.118 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004529/1.106, allocations: 79.94 kB / 1.118 GB, free: 3.598 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.0002378/1.106, allocations: 112 kB / 1.118 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00116/1.108, allocations: 449.5 kB / 1.119 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.108, allocations: 0 / 1.119 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006852/1.108, allocations: 358.6 kB / 1.119 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/1.109, allocations: 73.98 kB / 1.119 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/1.11, allocations: 420.7 kB / 1.119 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/1.11, allocations: 0.7285 MB / 1.12 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002036/1.11, allocations: 45.86 kB / 1.12 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/1.11, allocations: 23.42 kB / 1.12 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of SimCode: time 1.242e-06/1.11, allocations: 0 / 1.12 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of Templates: time 0.01054/1.121, allocations: 5.28 MB / 1.125 GB, free: 12.09 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