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.001856/0.001856, allocations: 108 kB / 15.61 MB, free: 148 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.00207/0.002071, allocations: 195 kB / 16.53 MB, free: 6.691 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.762/2.762, allocations: 437 MB / 0.7104 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6582/0.6604, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2109/0.8713, allocations: 161.5 MB / 1.175 GB, free: 396 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006234/0.8776, allocations: 3.486 MB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.8782, allocations: 19.88 kB / 1.178 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.8788, allocations: 135 kB / 1.179 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.8807, allocations: 453.8 kB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.8827, allocations: 0.5892 MB / 1.18 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.8839, allocations: 0.6206 MB / 1.18 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006076/0.8845, allocations: 232.6 kB / 1.18 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.8864, allocations: 333.2 kB / 1.181 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005778/0.887, allocations: 199.1 kB / 1.181 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.8871, allocations: 20 kB / 1.181 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.8887, allocations: 0.5495 MB / 1.181 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.8889, allocations: 103.6 kB / 1.182 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.8893, allocations: 143.3 kB / 1.182 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.8905, allocations: 0.5415 MB / 1.182 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.8906, allocations: 0 / 1.182 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8906, allocations: 3.938 kB / 1.182 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.8906, allocations: 0 / 1.182 GB, free: 8.984 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.001257/0.8918, allocations: 0.6311 MB / 1.183 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.8919, allocations: 8.031 kB / 1.183 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005466/0.8924, allocations: 75.5 kB / 1.183 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.8929, allocations: 301.3 kB / 1.183 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.8929, allocations: 16.44 kB / 1.183 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.8929, allocations: 20 kB / 1.183 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.8936, allocations: 308.1 kB / 1.184 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.8936, allocations: 4 kB / 1.184 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.8937, allocations: 19.94 kB / 1.184 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.8937, allocations: 11.94 kB / 1.184 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.8944, allocations: 240.9 kB / 1.184 GB, free: 7.262 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.00187/0.8963, allocations: 1.256 MB / 1.185 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.8967, allocations: 170.5 kB / 1.185 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.8971, allocations: 124.8 kB / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/0.8977, allocations: 303.2 kB / 1.186 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.8978, allocations: 38.5 kB / 1.186 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.8978, allocations: 4 kB / 1.186 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002404/0.9002, allocations: 0.5653 MB / 1.186 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.9003, allocations: 59.41 kB / 1.186 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.9006, allocations: 255 kB / 1.187 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.9006, allocations: 33.7 kB / 1.187 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.9007, allocations: 164.1 kB / 1.187 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.9008, allocations: 47.36 kB / 1.187 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.9009, allocations: 37.62 kB / 1.187 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9011, allocations: 330.8 kB / 1.187 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.9014, allocations: 99.91 kB / 1.187 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.9017, allocations: 134.5 kB / 1.187 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.9024, allocations: 240.1 kB / 1.188 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9024, allocations: 0 / 1.188 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001198/0.9036, allocations: 353.8 kB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9036, allocations: 4 kB / 1.188 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9036, allocations: 7.984 kB / 1.188 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.9043, allocations: 88.88 kB / 1.188 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.9045, allocations: 43.91 kB / 1.188 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.9072, allocations: 1.737 MB / 1.19 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.9075, allocations: 31.81 kB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.9076, allocations: 8 kB / 1.19 GB, free: 0.7344 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.0002237/0.9078, allocations: 149 kB / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.9079, allocations: 27.7 kB / 1.19 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.9091, allocations: 374.4 kB / 1.19 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.9091, allocations: 0 / 1.19 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.9091, allocations: 4 kB / 1.19 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.9091, allocations: 3.984 kB / 1.19 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.911, allocations: 0.7669 MB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.911, allocations: 0 / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.9112, allocations: 39.95 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.9117, allocations: 76.88 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.9117, allocations: 7.938 kB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.9139, allocations: 1.739 MB / 1.193 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9139, allocations: 0 / 1.193 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.9152, allocations: 466.3 kB / 1.193 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.9153, allocations: 120.7 kB / 1.193 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.9154, allocations: 11.98 kB / 1.193 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.9156, allocations: 27.97 kB / 1.193 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.9157, allocations: 15.98 kB / 1.193 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.9158, allocations: 8 kB / 1.193 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002013/0.916, allocations: 190 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.916, allocations: 0 / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004513/0.9164, allocations: 75.92 kB / 1.194 GB, free: 12.39 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.0004479/0.9169, allocations: 163.1 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.918, allocations: 366.6 kB / 1.194 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.918, allocations: 0 / 1.194 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006407/0.9187, allocations: 258.7 kB / 1.194 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.9195, allocations: 126.1 kB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.9205, allocations: 0.5053 MB / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.921, allocations: 0.7714 MB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.9212, allocations: 58.25 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.9213, allocations: 19.44 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.9213, allocations: 0 / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of Templates: time 0.01304/0.9344, allocations: 5.947 MB / 1.202 GB, free: 4.184 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=400 -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