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.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.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.0009234/0.0009234, allocations: 92.16 kB / 16.02 MB, free: 80 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.001201/0.001201, allocations: 173 kB / 16.92 MB, free: 6.652 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.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.629/2.629, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006228/0.000623, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8191, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1887/1.008, allocations: 157.2 MB / 1.177 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005109/1.013, allocations: 3.473 MB / 1.181 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/1.013, allocations: 7.938 kB / 1.181 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004827/1.014, allocations: 103.3 kB / 1.181 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/1.015, allocations: 434.1 kB / 1.181 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/1.017, allocations: 0.5286 MB / 1.182 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001018/1.018, allocations: 0.8156 MB / 1.182 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/1.019, allocations: 192.6 kB / 1.183 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/1.02, allocations: 313.2 kB / 1.183 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004041/1.021, allocations: 195.1 kB / 1.183 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/1.021, allocations: 12 kB / 1.183 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/1.022, allocations: 0.6312 MB / 1.184 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/1.022, allocations: 83.72 kB / 1.184 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/1.022, allocations: 161 kB / 1.184 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006707/1.023, allocations: 391.2 kB / 1.184 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.023, allocations: 0 / 1.184 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/1.023, allocations: 0 / 1.184 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.023, allocations: 0 / 1.184 GB, free: 10.77 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.001078/1.024, allocations: 0.5961 MB / 1.185 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.024, allocations: 12.03 kB / 1.185 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005694/1.025, allocations: 79.52 kB / 1.185 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/1.025, allocations: 285.4 kB / 1.185 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/1.025, allocations: 16.44 kB / 1.185 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/1.025, allocations: 20 kB / 1.185 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/1.026, allocations: 332.1 kB / 1.186 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.026, allocations: 0 / 1.186 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/1.026, allocations: 8 kB / 1.186 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/1.026, allocations: 11.94 kB / 1.186 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/1.027, allocations: 280.9 kB / 1.186 GB, free: 9.047 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.001721/1.029, allocations: 1.26 MB / 1.187 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/1.029, allocations: 186.5 kB / 1.187 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/1.029, allocations: 148.6 kB / 1.187 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006015/1.03, allocations: 319.2 kB / 1.188 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.03, allocations: 38.56 kB / 1.188 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/1.03, allocations: 0 / 1.188 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002381/1.032, allocations: 0.6238 MB / 1.188 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/1.032, allocations: 59.34 kB / 1.188 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/1.033, allocations: 263 kB / 1.189 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/1.033, allocations: 29.7 kB / 1.189 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/1.033, allocations: 164.2 kB / 1.189 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/1.033, allocations: 43.36 kB / 1.189 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/1.033, allocations: 21.7 kB / 1.189 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.033, allocations: 334.8 kB / 1.189 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/1.034, allocations: 107.9 kB / 1.189 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/1.034, allocations: 160 kB / 1.19 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006581/1.035, allocations: 272.1 kB / 1.19 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.035, allocations: 0 / 1.19 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001235/1.036, allocations: 389.8 kB / 1.19 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.036, allocations: 5.25 kB / 1.19 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.036, allocations: 4.125 kB / 1.19 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/1.036, allocations: 84.77 kB / 1.19 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/1.037, allocations: 55.89 kB / 1.19 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/1.039, allocations: 1.616 MB / 1.192 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/1.039, allocations: 39.88 kB / 1.192 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/1.039, allocations: 15.94 kB / 1.192 GB, free: 2.426 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.000193/1.04, allocations: 145.8 kB / 1.192 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/1.04, allocations: 27.62 kB / 1.192 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/1.041, allocations: 399.9 kB / 1.192 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.041, allocations: 0 / 1.192 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/1.041, allocations: 0 / 1.192 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.041, allocations: 4 kB / 1.192 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/1.043, allocations: 0.8059 MB / 1.193 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.043, allocations: 4 kB / 1.193 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/1.043, allocations: 40.06 kB / 1.193 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005277/1.044, allocations: 88.77 kB / 1.193 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/1.044, allocations: 11.98 kB / 1.193 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/1.046, allocations: 1.633 MB / 1.195 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.046, allocations: 4.031 kB / 1.195 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/1.047, allocations: 487.5 kB / 1.195 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/1.047, allocations: 120.8 kB / 1.196 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/1.047, allocations: 4 kB / 1.196 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/1.047, allocations: 35.97 kB / 1.196 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/1.047, allocations: 19.97 kB / 1.196 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/1.048, allocations: 4 kB / 1.196 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001998/1.048, allocations: 186 kB / 1.196 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.814e-06/1.048, allocations: 0 / 1.196 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004586/1.048, allocations: 91.72 kB / 1.196 GB, free: 14.07 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.0004559/1.049, allocations: 176.2 kB / 1.196 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.05, allocations: 386.8 kB / 1.196 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.05, allocations: 4 kB / 1.196 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006303/1.05, allocations: 278.6 kB / 1.197 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008275/1.051, allocations: 112.8 kB / 1.197 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/1.052, allocations: 0.6373 MB / 1.197 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/1.053, allocations: 0.7752 MB / 1.198 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/1.053, allocations: 19.44 kB / 1.198 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/1.053, allocations: 0 / 1.198 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.009274/1.062, allocations: 5.343 MB / 1.203 GB, free: 6.305 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/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