Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_10_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_10_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.0009579/0.0009577, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00604/0.00604, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.74/2.74, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 16 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8185, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1867/1.005, allocations: 157.2 MB / 1.177 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005896/1.011, allocations: 3.475 MB / 1.18 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/1.012, allocations: 7.938 kB / 1.18 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005396/1.012, allocations: 103.3 kB / 1.18 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/1.014, allocations: 434.2 kB / 1.18 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/1.015, allocations: 0.5372 MB / 1.181 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000975/1.016, allocations: 0.8116 MB / 1.182 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/1.017, allocations: 192.6 kB / 1.182 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/1.018, allocations: 300.2 kB / 1.182 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/1.019, allocations: 203.1 kB / 1.182 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/1.019, allocations: 8 kB / 1.182 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/1.02, allocations: 0.6312 MB / 1.183 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/1.02, allocations: 83.72 kB / 1.183 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/1.02, allocations: 153 kB / 1.183 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008689/1.021, allocations: 0.5647 MB / 1.184 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.021, allocations: 0 / 1.184 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.422e-06/1.021, allocations: 0 / 1.184 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.021, allocations: 7.875 kB / 1.184 GB, free: 10.56 MB / 0.9356 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.00113/1.022, allocations: 0.5923 MB / 1.184 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.022, allocations: 16.03 kB / 1.184 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/1.023, allocations: 75.5 kB / 1.184 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/1.023, allocations: 285.4 kB / 1.185 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/1.023, allocations: 16.44 kB / 1.185 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/1.023, allocations: 16 kB / 1.185 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/1.024, allocations: 332.1 kB / 1.185 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.024, allocations: 4 kB / 1.185 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/1.024, allocations: 12 kB / 1.185 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/1.024, allocations: 15.88 kB / 1.185 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/1.025, allocations: 276.9 kB / 1.185 GB, free: 8.836 MB / 0.9356 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.001723/1.027, allocations: 1.264 MB / 1.187 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/1.027, allocations: 194.5 kB / 1.187 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/1.027, allocations: 136.8 kB / 1.187 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006844/1.028, allocations: 323.2 kB / 1.187 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.028, allocations: 38.56 kB / 1.187 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/1.028, allocations: 0 / 1.187 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002358/1.031, allocations: 0.616 MB / 1.188 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/1.031, allocations: 59.41 kB / 1.188 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/1.031, allocations: 270.9 kB / 1.188 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/1.031, allocations: 25.7 kB / 1.188 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/1.031, allocations: 168.2 kB / 1.188 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/1.031, allocations: 43.36 kB / 1.188 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/1.031, allocations: 17.72 kB / 1.188 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.031, allocations: 334.8 kB / 1.189 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/1.032, allocations: 115.9 kB / 1.189 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/1.032, allocations: 153.7 kB / 1.189 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/1.033, allocations: 269.2 kB / 1.189 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.033, allocations: 0 / 1.189 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001204/1.034, allocations: 391.2 kB / 1.19 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/1.034, allocations: 4 kB / 1.19 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.034, allocations: 0 / 1.19 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/1.035, allocations: 96.81 kB / 1.19 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/1.035, allocations: 43.97 kB / 1.19 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/1.037, allocations: 1.612 MB / 1.191 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/1.037, allocations: 51.81 kB / 1.191 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/1.037, allocations: 11.94 kB / 1.191 GB, free: 2.215 MB / 0.9356 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.0001871/1.037, allocations: 141.8 kB / 1.192 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/1.038, allocations: 27.62 kB / 1.192 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/1.039, allocations: 401.5 kB / 1.192 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.039, allocations: 7.938 kB / 1.192 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/1.039, allocations: 0 / 1.192 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.039, allocations: 0 / 1.192 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/1.041, allocations: 0.802 MB / 1.193 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.041, allocations: 0 / 1.193 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/1.041, allocations: 48 kB / 1.193 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/1.041, allocations: 92.75 kB / 1.193 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.041, allocations: 8 kB / 1.193 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/1.043, allocations: 1.637 MB / 1.195 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.043, allocations: 4.031 kB / 1.195 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/1.044, allocations: 486.3 kB / 1.195 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/1.045, allocations: 120.8 kB / 1.195 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/1.045, allocations: 11.94 kB / 1.195 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/1.045, allocations: 31.97 kB / 1.195 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/1.045, allocations: 19.97 kB / 1.195 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/1.045, allocations: 7.938 kB / 1.195 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001833/1.045, allocations: 194 kB / 1.195 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.045, allocations: 0 / 1.195 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004543/1.046, allocations: 87.77 kB / 1.195 GB, free: 13.85 MB / 0.9512 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.0004061/1.046, allocations: 166.8 kB / 1.196 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001086/1.047, allocations: 390.6 kB / 1.196 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.047, allocations: 0 / 1.196 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/1.048, allocations: 278.6 kB / 1.196 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008378/1.049, allocations: 115 kB / 1.196 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/1.05, allocations: 0.5985 MB / 1.197 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/1.05, allocations: 0.7752 MB / 1.198 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002237/1.05, allocations: 62.17 kB / 1.198 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/1.05, allocations: 19.44 kB / 1.198 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/1.05, allocations: 0 / 1.198 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of Templates: time 0.01082/1.061, allocations: 5.51 MB / 1.203 GB, free: 5.941 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches