Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 107 kB / 16.36 MB, free: 6.336 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.0017/0.001701, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.72 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2885, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002898/0.2914, allocations: 1.683 MB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7538/1.045, allocations: 149.7 MB / 1.175 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/1.045, allocations: 1.312 kB / 1.175 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/1.046, allocations: 21.48 kB / 1.175 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/1.046, allocations: 52 kB / 1.175 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/1.047, allocations: 189.6 kB / 1.175 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/1.047, allocations: 162.9 kB / 1.175 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/1.047, allocations: 28.69 kB / 1.175 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/1.048, allocations: 195.1 kB / 1.175 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/1.048, allocations: 72.86 kB / 1.175 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/1.048, allocations: 8.938 kB / 1.175 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/1.048, allocations: 158.6 kB / 1.175 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/1.049, allocations: 31.67 kB / 1.175 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/1.049, allocations: 51.19 kB / 1.175 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/1.049, allocations: 199.9 kB / 1.176 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.049, allocations: 0 / 1.176 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/1.049, allocations: 5 kB / 1.176 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.36e-06/1.049, allocations: 0 / 1.176 GB, free: 9.527 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000852/1.05, allocations: 470.6 kB / 1.176 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/1.05, allocations: 10 kB / 1.176 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006503/1.051, allocations: 56.22 kB / 1.176 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/1.051, allocations: 209.7 kB / 1.176 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.051, allocations: 7.312 kB / 1.176 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/1.051, allocations: 4.719 kB / 1.176 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/1.051, allocations: 192.3 kB / 1.177 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.051, allocations: 0 / 1.177 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/1.051, allocations: 1.156 kB / 1.177 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.051, allocations: 2.156 kB / 1.177 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/1.052, allocations: 145.4 kB / 1.177 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/1.053, allocations: 0.8239 MB / 1.178 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/1.053, allocations: 135.3 kB / 1.178 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/1.054, allocations: 85.22 kB / 1.178 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/1.054, allocations: 1.156 kB / 1.178 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.054, allocations: 31.78 kB / 1.178 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/1.054, allocations: 0 / 1.178 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.001888/1.056, allocations: 467.5 kB / 1.178 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.056, allocations: 60.31 kB / 1.178 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/1.056, allocations: 149.9 kB / 1.178 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/1.056, allocations: 25.7 kB / 1.178 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/1.056, allocations: 109.4 kB / 1.179 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/1.056, allocations: 35.47 kB / 1.179 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/1.056, allocations: 34.58 kB / 1.179 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.056, allocations: 321.1 kB / 1.179 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/1.056, allocations: 71.81 kB / 1.179 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/1.057, allocations: 99.88 kB / 1.179 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/1.057, allocations: 180.5 kB / 1.179 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.057, allocations: 4 kB / 1.179 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001032/1.058, allocations: 275.2 kB / 1.179 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.058, allocations: 10.73 kB / 1.18 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.058, allocations: 5.219 kB / 1.18 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/1.059, allocations: 81.7 kB / 1.18 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.059, allocations: 33.47 kB / 1.18 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.061, allocations: 1.658 MB / 1.181 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/1.061, allocations: 26.67 kB / 1.181 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/1.061, allocations: 8.359 kB / 1.181 GB, free: 4.812 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.061, allocations: 131.2 kB / 1.181 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/1.061, allocations: 8.406 kB / 1.181 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/1.062, allocations: 311 kB / 1.182 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.062, allocations: 5.438 kB / 1.182 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/1.062, allocations: 1.219 kB / 1.182 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.062, allocations: 0 / 1.182 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/1.063, allocations: 250.3 kB / 1.182 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.063, allocations: 0 / 1.182 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/1.063, allocations: 32.56 kB / 1.182 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/1.063, allocations: 74.17 kB / 1.182 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/1.063, allocations: 5.172 kB / 1.182 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/1.065, allocations: 1.68 MB / 1.184 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.065, allocations: 3.938 kB / 1.184 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/1.067, allocations: 388.2 kB / 1.184 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/1.067, allocations: 103.4 kB / 1.184 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/1.067, allocations: 2 kB / 1.184 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/1.067, allocations: 20.31 kB / 1.184 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/1.067, allocations: 21.33 kB / 1.184 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/1.067, allocations: 3.75 kB / 1.184 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 8.865e-05/1.067, allocations: 112.7 kB / 1.184 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/1.067, allocations: 5.438 kB / 1.184 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003672/1.068, allocations: 43.34 kB / 1.184 GB, free: 2.031 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/1.068, allocations: 112 kB / 1.184 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008896/1.069, allocations: 308.1 kB / 1.185 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.069, allocations: 1.125 kB / 1.185 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005355/1.069, allocations: 243.8 kB / 1.185 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/1.07, allocations: 21.73 kB / 1.185 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/1.071, allocations: 308.7 kB / 1.185 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/1.071, allocations: 0.7098 MB / 1.186 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001351/1.071, allocations: 30.56 kB / 1.186 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/1.071, allocations: 18.48 kB / 1.186 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of SimCode: time 3.4e-07/1.071, allocations: 5.438 kB / 1.186 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of Templates: time 0.006698/1.078, allocations: 3.203 MB / 1.189 GB, free: 14.95 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches