Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001082/0.001082, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001073/0.001073, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437.1 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.44 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2767, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003291/0.28, allocations: 1.921 MB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6304/0.9104, allocations: 155.4 MB / 1.172 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.9107, allocations: 2.25 kB / 1.172 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.9109, allocations: 29.02 kB / 1.172 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.9112, allocations: 67.97 kB / 1.173 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.912, allocations: 263.7 kB / 1.173 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.9123, allocations: 264.7 kB / 1.173 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.9125, allocations: 78.05 kB / 1.173 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.9137, allocations: 234.2 kB / 1.173 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.9139, allocations: 95.06 kB / 1.173 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.9139, allocations: 18.56 kB / 1.173 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.9143, allocations: 187.7 kB / 1.174 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.9144, allocations: 45.06 kB / 1.174 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.9145, allocations: 91.08 kB / 1.174 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.915, allocations: 289 kB / 1.174 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.915, allocations: 0 / 1.174 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.976e-06/0.915, allocations: 1.312 kB / 1.174 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.915, allocations: 0 / 1.174 GB, free: 14.64 MB / 0.8887 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.0009532/0.916, allocations: 0.5247 MB / 1.175 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.916, allocations: 9.75 kB / 1.175 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.9169, allocations: 83.53 kB / 1.175 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.9173, allocations: 230.4 kB / 1.175 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.802e-05/0.9174, allocations: 47.95 kB / 1.175 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.9174, allocations: 15.31 kB / 1.175 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.918, allocations: 257.7 kB / 1.175 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.918, allocations: 3.594 kB / 1.175 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.9181, allocations: 13.42 kB / 1.175 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.9181, allocations: 8.625 kB / 1.175 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.9186, allocations: 169.1 kB / 1.175 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.9203, allocations: 1.174 MB / 1.176 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.921, allocations: 207.4 kB / 1.177 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.9212, allocations: 70.38 kB / 1.177 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.9212, allocations: 2 kB / 1.177 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.9213, allocations: 35.59 kB / 1.177 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.9213, allocations: 1.094 kB / 1.177 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of matching and sorting (n=12): time 0.002665/0.9239, allocations: 0.633 MB / 1.177 GB, free: 12 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.924, allocations: 56.34 kB / 1.177 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.9242, allocations: 213 kB / 1.178 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.9243, allocations: 26.8 kB / 1.178 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.9244, allocations: 140.6 kB / 1.178 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.9244, allocations: 40.36 kB / 1.178 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.9245, allocations: 45.19 kB / 1.178 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9247, allocations: 334.4 kB / 1.178 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.9249, allocations: 70.06 kB / 1.178 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.9251, allocations: 131.7 kB / 1.178 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.9255, allocations: 199 kB / 1.179 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9256, allocations: 1.156 kB / 1.179 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001392/0.9269, allocations: 375.4 kB / 1.179 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.927, allocations: 5.906 kB / 1.179 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.927, allocations: 2.469 kB / 1.179 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.9281, allocations: 172.7 kB / 1.179 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.9284, allocations: 41.22 kB / 1.179 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.9322, allocations: 3.255 MB / 1.182 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.9326, allocations: 33.48 kB / 1.182 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.9327, allocations: 10.86 kB / 1.182 GB, free: 7.387 MB / 0.8887 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.0001376/0.9328, allocations: 146 kB / 1.183 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.9329, allocations: 17.44 kB / 1.183 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.9342, allocations: 371.3 kB / 1.183 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9342, allocations: 2.219 kB / 1.183 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.9342, allocations: 0 / 1.183 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.9342, allocations: 5.141 kB / 1.183 GB, free: 7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.9345, allocations: 277.7 kB / 1.183 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.9345, allocations: 0 / 1.183 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.9347, allocations: 28.28 kB / 1.183 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008178/0.9355, allocations: 144.4 kB / 1.183 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.9355, allocations: 5.375 kB / 1.183 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/0.939, allocations: 3.296 MB / 1.187 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.939, allocations: 0 / 1.187 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.9402, allocations: 436.3 kB / 1.187 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.9404, allocations: 114.5 kB / 1.187 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.9404, allocations: 5.062 kB / 1.187 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.9407, allocations: 16.61 kB / 1.187 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.9408, allocations: 18.69 kB / 1.187 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.9408, allocations: 9.188 kB / 1.187 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001737/0.941, allocations: 160.6 kB / 1.187 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.941, allocations: 0 / 1.187 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004225/0.9414, allocations: 75.06 kB / 1.187 GB, free: 2.848 MB / 0.8887 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.0001825/0.9416, allocations: 112.5 kB / 1.187 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.9426, allocations: 452.7 kB / 1.188 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9427, allocations: 1.188 kB / 1.188 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.9433, allocations: 360.5 kB / 1.188 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.9438, allocations: 48.62 kB / 1.188 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009262/0.9447, allocations: 419.7 kB / 1.189 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.945, allocations: 0.7368 MB / 1.189 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.9452, allocations: 37.31 kB / 1.189 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.9452, allocations: 18.03 kB / 1.189 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of SimCode: time 2.51e-07/0.9452, allocations: 1.25 kB / 1.189 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of Templates: time 0.009111/0.9543, allocations: 5.308 MB / 1.195 GB, free: 14.38 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches