Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_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_9_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.001506/0.001506, allocations: 100.1 kB / 15.88 MB, free: 12 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.001274/0.001274, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6649 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 75.88 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6931, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002476/0.6956, allocations: 1.722 MB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.8648, allocations: 147.4 MB / 1.095 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.865, allocations: 4 kB / 1.095 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.8652, allocations: 15.86 kB / 1.095 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.8655, allocations: 47.7 kB / 1.095 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.8659, allocations: 163.5 kB / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.8661, allocations: 155.5 kB / 1.096 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.8663, allocations: 31.08 kB / 1.096 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.8682, allocations: 180.2 kB / 1.096 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.8684, allocations: 55.75 kB / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.8684, allocations: 4 kB / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.8688, allocations: 171.7 kB / 1.096 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.8688, allocations: 23.92 kB / 1.096 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.8689, allocations: 51.7 kB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.8692, allocations: 143.6 kB / 1.096 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.8692, allocations: 0 / 1.096 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8692, allocations: 0 / 1.096 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.8692, allocations: 0 / 1.096 GB, free: 11.46 MB / 0.8575 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.0009161/0.8701, allocations: 470.9 kB / 1.097 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.8702, allocations: 8.031 kB / 1.097 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006902/0.8709, allocations: 52.78 kB / 1.097 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.8711, allocations: 214.7 kB / 1.097 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.8711, allocations: 4 kB / 1.097 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.8711, allocations: 8 kB / 1.097 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.8716, allocations: 183 kB / 1.097 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8716, allocations: 0 / 1.097 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.8717, allocations: 4 kB / 1.097 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.8717, allocations: 7.938 kB / 1.097 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.8722, allocations: 147.7 kB / 1.097 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.8734, allocations: 0.8206 MB / 1.098 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.8738, allocations: 130.5 kB / 1.098 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.8741, allocations: 80.8 kB / 1.098 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.8741, allocations: 0 / 1.098 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.8741, allocations: 38.5 kB / 1.098 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.8741, allocations: 0 / 1.098 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001929/0.8761, allocations: 459.3 kB / 1.099 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.8761, allocations: 59.34 kB / 1.099 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.8763, allocations: 155.7 kB / 1.099 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.8763, allocations: 25.7 kB / 1.099 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.8764, allocations: 112.2 kB / 1.099 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.8764, allocations: 23.64 kB / 1.099 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.8765, allocations: 37.61 kB / 1.099 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8766, allocations: 318.8 kB / 1.099 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.8769, allocations: 71.94 kB / 1.1 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.8771, allocations: 104.2 kB / 1.1 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.8776, allocations: 180.1 kB / 1.1 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8776, allocations: 0 / 1.1 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001017/0.8786, allocations: 274.1 kB / 1.1 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8787, allocations: 11.94 kB / 1.1 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8787, allocations: 0 / 1.1 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.8793, allocations: 84.89 kB / 1.1 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.8795, allocations: 39.83 kB / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.8815, allocations: 1.547 MB / 1.102 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.8818, allocations: 23.92 kB / 1.102 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.8818, allocations: 12.05 kB / 1.102 GB, free: 5.367 MB / 0.8575 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.0001129/0.8819, allocations: 119.1 kB / 1.102 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.882, allocations: 11.81 kB / 1.102 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.8831, allocations: 318.9 kB / 1.102 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8831, allocations: 3.984 kB / 1.102 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.8831, allocations: 0 / 1.102 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8831, allocations: 3.938 kB / 1.102 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.8834, allocations: 233.5 kB / 1.102 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8834, allocations: 8 kB / 1.102 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.8836, allocations: 31.91 kB / 1.102 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005261/0.8841, allocations: 88.94 kB / 1.103 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.8842, allocations: 3.984 kB / 1.103 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.886, allocations: 1.571 MB / 1.104 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.886, allocations: 0 / 1.104 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.8871, allocations: 383.3 kB / 1.104 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.8872, allocations: 108.8 kB / 1.105 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.8872, allocations: 4 kB / 1.105 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.8875, allocations: 15.97 kB / 1.105 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.8876, allocations: 15.98 kB / 1.105 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.8876, allocations: 4 kB / 1.105 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.753e-05/0.8877, allocations: 117.1 kB / 1.105 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8877, allocations: 0 / 1.105 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003528/0.888, allocations: 48 kB / 1.105 GB, free: 2.066 MB / 0.8575 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.0002093/0.8883, allocations: 115.2 kB / 1.105 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000894/0.8892, allocations: 298.7 kB / 1.105 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8892, allocations: 0 / 1.105 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.8897, allocations: 234.5 kB / 1.105 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.89, allocations: 25.64 kB / 1.105 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008528/0.8909, allocations: 382.1 kB / 1.106 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.8912, allocations: 0.7088 MB / 1.106 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.8913, allocations: 27.36 kB / 1.106 GB, free: 212 kB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8913, allocations: 3.938 kB / 1.106 GB, free: 208 kB / 0.8575 GB Notification: Performance of Templates: time 0.004986/0.8963, allocations: 2.72 MB / 1.109 GB, free: 13.49 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches