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.001618/0.001618, allocations: 101.9 kB / 16.27 MB, free: 5.898 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.001783/0.001783, allocations: 189 kB / 17.2 MB, free: 5.535 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.544/1.544, 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 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.1 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 68.92 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.698/1.039, allocations: 161.5 MB / 1.176 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005843/1.045, allocations: 3.5 MB / 1.179 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/1.045, allocations: 10.62 kB / 1.179 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005105/1.046, allocations: 129.1 kB / 1.179 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/1.047, allocations: 454.2 kB / 1.18 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/1.049, allocations: 0.5914 MB / 1.18 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008337/1.05, allocations: 0.6232 MB / 1.181 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/1.05, allocations: 235 kB / 1.181 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/1.052, allocations: 346.6 kB / 1.181 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/1.052, allocations: 193.8 kB / 1.182 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/1.052, allocations: 22.28 kB / 1.182 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/1.053, allocations: 0.5409 MB / 1.182 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/1.054, allocations: 100.2 kB / 1.182 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/1.054, allocations: 148 kB / 1.182 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/1.055, allocations: 0.5462 MB / 1.183 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.055, allocations: 1.25 kB / 1.183 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/1.055, allocations: 0 / 1.183 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.455e-06/1.055, allocations: 0 / 1.183 GB, free: 7.359 MB / 0.8887 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.001283/1.056, allocations: 0.6348 MB / 1.184 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.056, allocations: 10.8 kB / 1.184 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005646/1.057, allocations: 75.14 kB / 1.184 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/1.057, allocations: 292 kB / 1.184 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/1.057, allocations: 16.69 kB / 1.184 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/1.058, allocations: 16.38 kB / 1.184 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/1.058, allocations: 318.5 kB / 1.184 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.058, allocations: 0 / 1.184 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/1.058, allocations: 6.75 kB / 1.184 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.058, allocations: 4.125 kB / 1.184 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/1.059, allocations: 257.9 kB / 1.184 GB, free: 6.133 MB / 0.8887 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.001885/1.061, allocations: 1.251 MB / 1.186 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/1.062, allocations: 174.8 kB / 1.186 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/1.062, allocations: 124.3 kB / 1.186 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/1.063, allocations: 302.9 kB / 1.186 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/1.063, allocations: 36.72 kB / 1.186 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/1.063, allocations: 0 / 1.186 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.002403/1.065, allocations: 0.5761 MB / 1.187 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.065, allocations: 53.94 kB / 1.187 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/1.066, allocations: 263.7 kB / 1.187 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/1.066, allocations: 31.3 kB / 1.187 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/1.066, allocations: 161.4 kB / 1.187 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/1.066, allocations: 46.41 kB / 1.187 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.066, allocations: 43.55 kB / 1.187 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.066, allocations: 331.5 kB / 1.188 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/1.066, allocations: 97.97 kB / 1.188 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/1.067, allocations: 138.5 kB / 1.188 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/1.067, allocations: 241 kB / 1.188 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.067, allocations: 3.938 kB / 1.188 GB, free: 3 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001274/1.069, allocations: 355 kB / 1.189 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.069, allocations: 5.625 kB / 1.189 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.069, allocations: 1.188 kB / 1.189 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/1.069, allocations: 91.97 kB / 1.189 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/1.07, allocations: 38.28 kB / 1.189 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/1.072, allocations: 1.737 MB / 1.19 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/1.073, allocations: 33.12 kB / 1.19 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/1.073, allocations: 12.91 kB / 1.19 GB, free: 1.062 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 (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.0001924/1.073, allocations: 140 kB / 1.191 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/1.073, allocations: 26.62 kB / 1.191 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/1.074, allocations: 365.8 kB / 1.191 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.074, allocations: 0 / 1.191 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/1.074, allocations: 6.844 kB / 1.191 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.074, allocations: 0 / 1.191 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/1.076, allocations: 0.7729 MB / 1.192 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.076, allocations: 0 / 1.192 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/1.076, allocations: 39.91 kB / 1.192 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/1.077, allocations: 82.52 kB / 1.192 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/1.077, allocations: 3.938 kB / 1.192 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/1.079, allocations: 1.742 MB / 1.194 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.079, allocations: 4.062 kB / 1.194 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.08, allocations: 461.4 kB / 1.194 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/1.08, allocations: 123.2 kB / 1.194 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/1.08, allocations: 3.781 kB / 1.194 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/1.081, allocations: 29.97 kB / 1.194 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/1.081, allocations: 24.28 kB / 1.194 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/1.081, allocations: 5.094 kB / 1.194 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001992/1.081, allocations: 184.9 kB / 1.194 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.081, allocations: 2.469 kB / 1.194 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004624/1.081, allocations: 77.06 kB / 1.194 GB, free: 13.74 MB / 0.9044 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.0004858/1.082, allocations: 168.5 kB / 1.195 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00111/1.083, allocations: 371.7 kB / 1.195 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.083, allocations: 1.156 kB / 1.195 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000629/1.084, allocations: 254 kB / 1.195 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/1.084, allocations: 132.5 kB / 1.195 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/1.086, allocations: 0.5257 MB / 1.196 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/1.086, allocations: 0.7689 MB / 1.197 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/1.086, allocations: 22.25 kB / 1.197 GB, free: 12 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/1.086, allocations: 0 / 1.197 GB, free: 12 MB / 0.9044 GB Notification: Performance of Templates: time 0.008801/1.095, allocations: 5.384 MB / 1.202 GB, free: 9.203 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches