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.007705/0.007705, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001456/0.001455, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.664/2.664, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 62.06 kB / 0.9508 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3578, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00322/0.361, allocations: 1.917 MB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.5472, allocations: 155.4 MB / 1.242 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.5475, allocations: 4 kB / 1.242 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.5478, allocations: 27.72 kB / 1.242 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.5482, allocations: 83.36 kB / 1.242 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.549, allocations: 263.1 kB / 1.242 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.5493, allocations: 267.2 kB / 1.242 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.5496, allocations: 62.36 kB / 1.242 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.5511, allocations: 256.9 kB / 1.242 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.5513, allocations: 95.61 kB / 1.243 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.5513, allocations: 16 kB / 1.243 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.5518, allocations: 179.8 kB / 1.243 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.5519, allocations: 51.81 kB / 1.243 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.552, allocations: 87.53 kB / 1.243 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.5525, allocations: 287.1 kB / 1.243 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5525, allocations: 0 / 1.243 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5525, allocations: 0 / 1.243 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5525, allocations: 0 / 1.243 GB, free: 1.938 MB / 0.9981 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.001099/0.5536, allocations: 0.5223 MB / 1.244 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5537, allocations: 12.03 kB / 1.244 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008758/0.5546, allocations: 83.72 kB / 1.244 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.5549, allocations: 231.6 kB / 1.244 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.555, allocations: 45.97 kB / 1.244 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.5551, allocations: 20 kB / 1.244 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.5556, allocations: 262.5 kB / 1.244 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5557, allocations: 4 kB / 1.244 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.5557, allocations: 8 kB / 1.244 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5557, allocations: 4 kB / 1.244 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.5562, allocations: 167.8 kB / 1.244 GB, free: 484 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.5579, allocations: 1.173 MB / 1.246 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.5586, allocations: 210.6 kB / 1.246 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.5588, allocations: 68.81 kB / 1.246 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.5588, allocations: 0 / 1.246 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.5589, allocations: 34.56 kB / 1.246 GB, free: 14.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.5589, allocations: 0 / 1.246 GB, free: 14.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.002665/0.5616, allocations: 0.6335 MB / 1.247 GB, free: 14.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.5616, allocations: 55.41 kB / 1.247 GB, free: 14.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.5619, allocations: 218.9 kB / 1.247 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.5619, allocations: 25.7 kB / 1.247 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.562, allocations: 140 kB / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.5621, allocations: 43.39 kB / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.5622, allocations: 53.59 kB / 1.247 GB, free: 13.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5623, allocations: 334.7 kB / 1.247 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.5625, allocations: 71.95 kB / 1.247 GB, free: 13.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.5628, allocations: 134.5 kB / 1.248 GB, free: 13.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.5632, allocations: 201.5 kB / 1.248 GB, free: 12.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5632, allocations: 0 / 1.248 GB, free: 12.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0014/0.5646, allocations: 370.8 kB / 1.248 GB, free: 12.49 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5647, allocations: 4 kB / 1.248 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5647, allocations: 7.922 kB / 1.248 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.5657, allocations: 165.8 kB / 1.248 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.566, allocations: 35.91 kB / 1.248 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.57, allocations: 3.254 MB / 1.251 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.5704, allocations: 27.83 kB / 1.252 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.5705, allocations: 11.98 kB / 1.252 GB, free: 8.695 MB / 1.014 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.0001567/0.5706, allocations: 129.8 kB / 1.252 GB, free: 8.559 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.5707, allocations: 15.81 kB / 1.252 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.5721, allocations: 388.1 kB / 1.252 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5721, allocations: 4 kB / 1.252 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.5721, allocations: 0 / 1.252 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5721, allocations: 0 / 1.252 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.5725, allocations: 269.5 kB / 1.252 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.5725, allocations: 3.984 kB / 1.252 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.5726, allocations: 19.98 kB / 1.252 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007973/0.5734, allocations: 145.6 kB / 1.252 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.5735, allocations: 0 / 1.252 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.5771, allocations: 3.304 MB / 1.256 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5771, allocations: 0 / 1.256 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.5784, allocations: 435 kB / 1.256 GB, free: 3.629 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.5785, allocations: 120.8 kB / 1.256 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.5786, allocations: 0 / 1.256 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.5788, allocations: 15.98 kB / 1.256 GB, free: 3.477 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.5789, allocations: 27.91 kB / 1.256 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.5789, allocations: 4 kB / 1.256 GB, free: 3.445 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001956/0.5791, allocations: 159.2 kB / 1.256 GB, free: 3.289 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5792, allocations: 0 / 1.256 GB, free: 3.289 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004716/0.5796, allocations: 68 kB / 1.256 GB, free: 3.223 MB / 1.014 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.0002269/0.5799, allocations: 123.7 kB / 1.257 GB, free: 3.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.581, allocations: 445.4 kB / 1.257 GB, free: 2.629 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.581, allocations: 0 / 1.257 GB, free: 2.629 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.5817, allocations: 361.2 kB / 1.257 GB, free: 2.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.5821, allocations: 60.92 kB / 1.257 GB, free: 2.191 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.5831, allocations: 417.8 kB / 1.258 GB, free: 1.754 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.5834, allocations: 0.7402 MB / 1.259 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.5836, allocations: 33.94 kB / 1.259 GB, free: 0.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.5837, allocations: 19.44 kB / 1.259 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/0.5837, allocations: 0 / 1.259 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of Templates: time 0.6048/1.189, allocations: 5.474 MB / 1.264 GB, free: 174.2 MB / 1.014 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