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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001459/0.001459, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001552/0.001552, allocations: 196 kB / 17.31 MB, free: 5.613 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437.1 MB / 0.7112 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 60.09 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2712, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003114/0.2743, allocations: 1.676 MB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6241/0.8984, allocations: 149.7 MB / 1.167 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.8985, allocations: 1.094 kB / 1.167 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.8988, allocations: 29.55 kB / 1.167 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.8991, allocations: 49.8 kB / 1.167 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.8998, allocations: 188.1 kB / 1.167 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.9, allocations: 164.5 kB / 1.167 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.9002, allocations: 22.38 kB / 1.167 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.9019, allocations: 201.7 kB / 1.167 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.9021, allocations: 61.03 kB / 1.167 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.9021, allocations: 9.438 kB / 1.167 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.9025, allocations: 164.9 kB / 1.167 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.9026, allocations: 21.64 kB / 1.167 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.338e-05/0.9027, allocations: 54.73 kB / 1.168 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.9032, allocations: 202.6 kB / 1.168 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9032, allocations: 5.406 kB / 1.168 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9032, allocations: 0 / 1.168 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.9032, allocations: 4 kB / 1.168 GB, free: 2.93 MB / 0.8731 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.001076/0.9043, allocations: 467.3 kB / 1.168 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.9043, allocations: 11.94 kB / 1.168 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.9053, allocations: 56.27 kB / 1.168 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.9056, allocations: 211.7 kB / 1.168 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.9056, allocations: 3.062 kB / 1.168 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.9057, allocations: 8.969 kB / 1.168 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.9063, allocations: 185.4 kB / 1.169 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.9063, allocations: 5.094 kB / 1.169 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.9064, allocations: 5.125 kB / 1.169 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.9064, allocations: 2.094 kB / 1.169 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.9071, allocations: 142.6 kB / 1.169 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.9087, allocations: 0.8253 MB / 1.17 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.9093, allocations: 139 kB / 1.17 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.9097, allocations: 75.84 kB / 1.17 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.9097, allocations: 1.062 kB / 1.17 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.9098, allocations: 41.53 kB / 1.17 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.9098, allocations: 0 / 1.17 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.002757/0.9126, allocations: 462.3 kB / 1.17 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.9126, allocations: 52.47 kB / 1.17 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.9128, allocations: 158.6 kB / 1.17 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.9129, allocations: 26.98 kB / 1.17 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.9129, allocations: 114.9 kB / 1.171 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.913, allocations: 28.59 kB / 1.171 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.9131, allocations: 34.27 kB / 1.171 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.9133, allocations: 319.7 kB / 1.171 GB, free: 360 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.9137, allocations: 69.67 kB / 1.171 GB, free: 344 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.9141, allocations: 109.6 kB / 1.171 GB, free: 276 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007911/0.9149, allocations: 178.2 kB / 1.171 GB, free: 188 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9149, allocations: 0 / 1.171 GB, free: 188 kB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001468/0.9164, allocations: 277.2 kB / 1.172 GB, free: 84 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.9165, allocations: 10 kB / 1.172 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9165, allocations: 7.484 kB / 1.172 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007672/0.9172, allocations: 86.28 kB / 1.172 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.9175, allocations: 31.09 kB / 1.172 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.9206, allocations: 1.66 MB / 1.173 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.9209, allocations: 29.92 kB / 1.173 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.9209, allocations: 6.547 kB / 1.173 GB, free: 14.53 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.0001165/0.9211, allocations: 122.2 kB / 1.173 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.9211, allocations: 13.16 kB / 1.173 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.9222, allocations: 307.1 kB / 1.174 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.9223, allocations: 5.062 kB / 1.174 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.9223, allocations: 7.938 kB / 1.174 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.9223, allocations: 2.656 kB / 1.174 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.9225, allocations: 241 kB / 1.174 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9225, allocations: 0 / 1.174 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.9228, allocations: 29.42 kB / 1.174 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.9232, allocations: 84.95 kB / 1.174 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.9232, allocations: 3.109 kB / 1.174 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.9251, allocations: 1.683 MB / 1.176 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9252, allocations: 5.125 kB / 1.176 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.9262, allocations: 375.9 kB / 1.176 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.9263, allocations: 112.5 kB / 1.176 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.9263, allocations: 1.406 kB / 1.176 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.9266, allocations: 23.59 kB / 1.176 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.9266, allocations: 14.11 kB / 1.176 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.9267, allocations: 3.312 kB / 1.176 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 9.199e-05/0.9268, allocations: 114.4 kB / 1.176 GB, free: 12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9268, allocations: 0 / 1.176 GB, free: 12 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003681/0.9271, allocations: 44.47 kB / 1.176 GB, free: 11.99 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.0002075/0.9274, allocations: 112.1 kB / 1.177 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009428/0.9283, allocations: 308.8 kB / 1.177 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9283, allocations: 1.188 kB / 1.177 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/0.9289, allocations: 234.2 kB / 1.177 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.9293, allocations: 33.39 kB / 1.177 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008414/0.9301, allocations: 321.5 kB / 1.177 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.9304, allocations: 0.706 MB / 1.178 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000127/0.9305, allocations: 26.69 kB / 1.178 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.9306, allocations: 22.33 kB / 1.178 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/0.9306, allocations: 4 kB / 1.178 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of Templates: time 0.006886/0.9375, allocations: 3.204 MB / 1.181 GB, free: 8.891 MB / 0.8887 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=480 -s gbode -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/jenkins1/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