Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001478, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.00169/0.001691, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.45 kB / 0.8132 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2928, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.742/1.035, allocations: 161.5 MB / 1.108 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005104/1.04, allocations: 3.493 MB / 1.111 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004913/1.041, allocations: 11.41 kB / 1.111 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000517/1.041, allocations: 127.3 kB / 1.112 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/1.043, allocations: 458 kB / 1.112 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/1.045, allocations: 0.5852 MB / 1.113 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001142/1.046, allocations: 0.6244 MB / 1.113 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/1.047, allocations: 239.7 kB / 1.113 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/1.048, allocations: 333.6 kB / 1.114 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/1.048, allocations: 195.5 kB / 1.114 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/1.048, allocations: 21.59 kB / 1.114 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/1.05, allocations: 0.5491 MB / 1.114 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/1.05, allocations: 96.11 kB / 1.115 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/1.05, allocations: 144.4 kB / 1.115 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009584/1.051, allocations: 0.541 MB / 1.115 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.051, allocations: 5.312 kB / 1.115 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/1.051, allocations: 0 / 1.115 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.051, allocations: 0 / 1.115 GB, free: 5.02 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001403/1.052, allocations: 0.631 MB / 1.116 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.052, allocations: 11.22 kB / 1.116 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/1.053, allocations: 76.25 kB / 1.116 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/1.053, allocations: 292.6 kB / 1.116 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/1.053, allocations: 15.75 kB / 1.116 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/1.053, allocations: 20.94 kB / 1.116 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/1.054, allocations: 317 kB / 1.117 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.054, allocations: 1.188 kB / 1.117 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/1.054, allocations: 9.125 kB / 1.117 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.054, allocations: 5.75 kB / 1.117 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/1.055, allocations: 258.4 kB / 1.117 GB, free: 20.21 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/1.057, allocations: 1.247 MB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/1.057, allocations: 176.7 kB / 1.118 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/1.057, allocations: 128.6 kB / 1.118 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006601/1.058, allocations: 303.7 kB / 1.119 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.058, allocations: 34.97 kB / 1.119 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/1.058, allocations: 5.5 kB / 1.119 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002312/1.06, allocations: 0.5701 MB / 1.119 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/1.061, allocations: 55.03 kB / 1.119 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/1.061, allocations: 260.8 kB / 1.119 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.061, allocations: 30.58 kB / 1.119 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/1.061, allocations: 167.5 kB / 1.12 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/1.061, allocations: 44.97 kB / 1.12 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/1.061, allocations: 40.56 kB / 1.12 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.061, allocations: 330.5 kB / 1.12 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/1.062, allocations: 93.98 kB / 1.12 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/1.062, allocations: 144.4 kB / 1.12 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/1.063, allocations: 238.8 kB / 1.121 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.063, allocations: 1.203 kB / 1.121 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001203/1.064, allocations: 352.1 kB / 1.121 GB, free: 18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.064, allocations: 6.797 kB / 1.121 GB, free: 18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.064, allocations: 5.531 kB / 1.121 GB, free: 18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/1.064, allocations: 87.19 kB / 1.121 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/1.065, allocations: 48.48 kB / 1.121 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/1.067, allocations: 1.728 MB / 1.123 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/1.067, allocations: 28.91 kB / 1.123 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/1.067, allocations: 9.719 kB / 1.123 GB, free: 16.58 MB / 0.8731 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 (16): * 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: 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.0002/1.067, allocations: 148.9 kB / 1.123 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/1.068, allocations: 25.56 kB / 1.123 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/1.069, allocations: 373.2 kB / 1.123 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.069, allocations: 1.469 kB / 1.123 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/1.069, allocations: 0.5625 kB / 1.123 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.069, allocations: 2.266 kB / 1.123 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/1.07, allocations: 0.7726 MB / 1.124 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.07, allocations: 0.5625 kB / 1.124 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/1.071, allocations: 39.09 kB / 1.124 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/1.071, allocations: 82.42 kB / 1.124 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/1.071, allocations: 9.297 kB / 1.124 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/1.073, allocations: 1.738 MB / 1.126 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.073, allocations: 1.188 kB / 1.126 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/1.075, allocations: 457.8 kB / 1.126 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/1.075, allocations: 122.3 kB / 1.126 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/1.075, allocations: 1.188 kB / 1.126 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/1.075, allocations: 36.61 kB / 1.126 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/1.075, allocations: 19.84 kB / 1.126 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/1.075, allocations: 5.75 kB / 1.126 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002266/1.075, allocations: 189.2 kB / 1.127 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.075, allocations: 0 / 1.127 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005377/1.076, allocations: 85.25 kB / 1.127 GB, free: 14.25 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 11 * 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.0004286/1.076, allocations: 153.8 kB / 1.127 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.077, allocations: 374.9 kB / 1.127 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.077, allocations: 5.406 kB / 1.127 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006242/1.078, allocations: 253.4 kB / 1.127 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/1.079, allocations: 121.9 kB / 1.128 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/1.08, allocations: 0.5429 MB / 1.128 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/1.08, allocations: 0.7745 MB / 1.129 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/1.08, allocations: 21.53 kB / 1.129 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/1.08, allocations: 3.938 kB / 1.129 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.009703/1.09, allocations: 5.37 MB / 1.134 GB, free: 12.47 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches