Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_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_10_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.001383/0.001383, 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.00137/0.00137, allocations: 195.5 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 71.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7118/0.714, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003544/0.7176, allocations: 1.666 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.8991, allocations: 149.7 MB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.8993, allocations: 4 kB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.8996, allocations: 19.8 kB / 1.165 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.8998, allocations: 59.56 kB / 1.165 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.9004, allocations: 179.4 kB / 1.165 GB, free: 10.28 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.9006, allocations: 167.5 kB / 1.166 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.9008, allocations: 38.97 kB / 1.166 GB, free: 10.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.902, allocations: 193.3 kB / 1.166 GB, free: 9.918 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.9022, allocations: 67.69 kB / 1.166 GB, free: 9.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.9022, allocations: 8 kB / 1.166 GB, free: 9.844 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.9025, allocations: 159.8 kB / 1.166 GB, free: 9.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.9026, allocations: 27.91 kB / 1.166 GB, free: 9.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.9027, allocations: 55.67 kB / 1.166 GB, free: 9.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.903, allocations: 203.4 kB / 1.166 GB, free: 9.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.903, allocations: 0 / 1.166 GB, free: 9.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.903, allocations: 4 kB / 1.166 GB, free: 9.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.9031, allocations: 0 / 1.166 GB, free: 9.402 MB / 0.92 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.0009462/0.904, allocations: 467 kB / 1.167 GB, free: 8.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.9041, allocations: 12.03 kB / 1.167 GB, free: 8.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006325/0.9047, allocations: 52.78 kB / 1.167 GB, free: 8.836 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.9049, allocations: 206.7 kB / 1.167 GB, free: 8.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.905, allocations: 4 kB / 1.167 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.905, allocations: 8 kB / 1.167 GB, free: 8.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.9055, allocations: 183.7 kB / 1.167 GB, free: 8.383 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9055, allocations: 0 / 1.167 GB, free: 8.383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.9055, allocations: 7.984 kB / 1.167 GB, free: 8.375 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.9055, allocations: 4 kB / 1.167 GB, free: 8.371 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.9061, allocations: 139.8 kB / 1.167 GB, free: 8.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.9073, allocations: 0.8281 MB / 1.168 GB, free: 7.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.9077, allocations: 134.5 kB / 1.168 GB, free: 7.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.908, allocations: 84.72 kB / 1.168 GB, free: 7.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.908, allocations: 4 kB / 1.168 GB, free: 7.098 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.908, allocations: 34.56 kB / 1.168 GB, free: 7.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.908, allocations: 0 / 1.168 GB, free: 7.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001982/0.91, allocations: 459.3 kB / 1.169 GB, free: 6.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.9101, allocations: 51.41 kB / 1.169 GB, free: 6.516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.9102, allocations: 158.1 kB / 1.169 GB, free: 6.348 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.9103, allocations: 29.7 kB / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.9103, allocations: 108.3 kB / 1.169 GB, free: 6.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.9104, allocations: 27.64 kB / 1.169 GB, free: 6.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.9105, allocations: 29.61 kB / 1.169 GB, free: 6.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9106, allocations: 322.8 kB / 1.169 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.9109, allocations: 71.92 kB / 1.17 GB, free: 5.746 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.9112, allocations: 108.2 kB / 1.17 GB, free: 5.625 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.9117, allocations: 180.1 kB / 1.17 GB, free: 5.434 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9117, allocations: 0 / 1.17 GB, free: 5.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001073/0.9128, allocations: 286.1 kB / 1.17 GB, free: 5.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.9128, allocations: 11.94 kB / 1.17 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.9128, allocations: 0 / 1.17 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.9135, allocations: 84.89 kB / 1.17 GB, free: 5.047 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.9137, allocations: 35.89 kB / 1.17 GB, free: 5.012 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.9159, allocations: 1.662 MB / 1.172 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.9162, allocations: 31.89 kB / 1.172 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.9162, allocations: 7.984 kB / 1.172 GB, free: 3.168 MB / 0.92 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.0001145/0.9163, allocations: 121.7 kB / 1.172 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.9164, allocations: 7.906 kB / 1.172 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.9176, allocations: 319.1 kB / 1.172 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9176, allocations: 3.938 kB / 1.172 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.9176, allocations: 0 / 1.172 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.9176, allocations: 0 / 1.172 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.9179, allocations: 249.3 kB / 1.173 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9179, allocations: 0 / 1.173 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.9182, allocations: 31.97 kB / 1.173 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.9187, allocations: 76.77 kB / 1.173 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.9188, allocations: 3.938 kB / 1.173 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.9215, allocations: 1.677 MB / 1.174 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.9215, allocations: 8.125 kB / 1.174 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.9226, allocations: 368 kB / 1.175 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.9228, allocations: 112.8 kB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.9228, allocations: 0 / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.923, allocations: 23.91 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.9231, allocations: 11.98 kB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.9231, allocations: 4 kB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001036/0.9232, allocations: 122.2 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.883e-06/0.9232, allocations: 0 / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003388/0.9236, allocations: 47.94 kB / 1.175 GB, free: 15.75 MB / 0.9356 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.0001901/0.9238, allocations: 107.8 kB / 1.175 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.9248, allocations: 314.9 kB / 1.175 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9248, allocations: 256 / 1.175 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.9254, allocations: 239.6 kB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.9258, allocations: 33.28 kB / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.9266, allocations: 315.4 kB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.9271, allocations: 0.7124 MB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.9272, allocations: 24.88 kB / 1.177 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.9273, allocations: 15.44 kB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.9273, allocations: 0 / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.007756/0.9351, allocations: 3.214 MB / 1.18 GB, free: 10.74 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches