Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001218/0.001218, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009609/0.009609, allocations: 170 kB / 16.27 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.027/3.027, allocations: 470.6 MB / 0.7442 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 8.312 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3853, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002462/0.3878, allocations: 1.628 MB / 1.071 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1895/0.5773, allocations: 151.5 MB / 1.219 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.5775, allocations: 7.938 kB / 1.219 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.5777, allocations: 11.86 kB / 1.219 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.5781, allocations: 63.55 kB / 1.219 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.5789, allocations: 232.8 kB / 1.22 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.5792, allocations: 255.1 kB / 1.22 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.5794, allocations: 74.55 kB / 1.22 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.5817, allocations: 208.8 kB / 1.22 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.5819, allocations: 75.62 kB / 1.22 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.5819, allocations: 8 kB / 1.22 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.5823, allocations: 183.6 kB / 1.22 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.552e-05/0.5824, allocations: 31.83 kB / 1.22 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.5826, allocations: 105.2 kB / 1.221 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.583, allocations: 271.1 kB / 1.221 GB, free: 264 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.583, allocations: 0 / 1.221 GB, free: 264 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.545e-06/0.583, allocations: 0 / 1.221 GB, free: 264 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.583, allocations: 0 / 1.221 GB, free: 264 kB / 0.9669 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.001004/0.584, allocations: 0.4989 MB / 1.221 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5841, allocations: 12.03 kB / 1.221 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008466/0.5849, allocations: 79.73 kB / 1.221 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.5852, allocations: 234.6 kB / 1.222 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/0.5853, allocations: 38.03 kB / 1.222 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.5854, allocations: 12 kB / 1.222 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.586, allocations: 270.5 kB / 1.222 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.586, allocations: 0 / 1.222 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.586, allocations: 12 kB / 1.222 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.586, allocations: 4 kB / 1.222 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.5865, allocations: 179.8 kB / 1.222 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.5884, allocations: 1.196 MB / 1.223 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.5892, allocations: 210.6 kB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.5894, allocations: 72.83 kB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5894, allocations: 0 / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.5895, allocations: 42.48 kB / 1.224 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.5895, allocations: 0 / 1.224 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002874/0.5924, allocations: 0.6456 MB / 1.224 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.5924, allocations: 51.41 kB / 1.224 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.5927, allocations: 224.2 kB / 1.225 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.5928, allocations: 25.7 kB / 1.225 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.5929, allocations: 136 kB / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.5929, allocations: 47.39 kB / 1.225 GB, free: 12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.593, allocations: 21.7 kB / 1.225 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5931, allocations: 330.8 kB / 1.225 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.5934, allocations: 75.94 kB / 1.225 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.5937, allocations: 139.6 kB / 1.225 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.5942, allocations: 206.7 kB / 1.225 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5942, allocations: 0 / 1.225 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001557/0.5957, allocations: 395.8 kB / 1.226 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5958, allocations: 4 kB / 1.226 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5958, allocations: 4 kB / 1.226 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.597, allocations: 165.5 kB / 1.226 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.5972, allocations: 47.89 kB / 1.226 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/0.6014, allocations: 3.034 MB / 1.229 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.6018, allocations: 39.73 kB / 1.229 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.6018, allocations: 15.98 kB / 1.229 GB, free: 7.191 MB / 0.9825 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.0001718/0.602, allocations: 127.3 kB / 1.229 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.6021, allocations: 15.81 kB / 1.229 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.6035, allocations: 388.3 kB / 1.23 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6035, allocations: 4 kB / 1.23 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6035, allocations: 3.938 kB / 1.23 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6035, allocations: 0 / 1.23 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.6039, allocations: 281.4 kB / 1.23 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6039, allocations: 0 / 1.23 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.6041, allocations: 27.92 kB / 1.23 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.6051, allocations: 161.5 kB / 1.23 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.6051, allocations: 8 kB / 1.23 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.6089, allocations: 3.08 MB / 1.233 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.609, allocations: 64 / 1.233 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.6103, allocations: 454.4 kB / 1.233 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.6105, allocations: 116.8 kB / 1.234 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.6105, allocations: 4 kB / 1.234 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.6108, allocations: 19.98 kB / 1.234 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.6109, allocations: 15.97 kB / 1.234 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.6109, allocations: 11.94 kB / 1.234 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002062/0.6112, allocations: 159.2 kB / 1.234 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6112, allocations: 3.938 kB / 1.234 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004444/0.6116, allocations: 75.89 kB / 1.234 GB, free: 1.883 MB / 0.9825 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.000191/0.6118, allocations: 111.2 kB / 1.234 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.613, allocations: 458.6 kB / 1.234 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6131, allocations: 4 kB / 1.234 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000816/0.6139, allocations: 357.3 kB / 1.235 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.6144, allocations: 47.91 kB / 1.235 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.6154, allocations: 0.4978 MB / 1.235 GB, free: 352 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.6159, allocations: 0.7362 MB / 1.236 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.6161, allocations: 37.88 kB / 1.236 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.6162, allocations: 15.44 kB / 1.236 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.6162, allocations: 4 kB / 1.236 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.01102/0.6272, allocations: 4.93 MB / 1.241 GB, free: 10.66 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches