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.005646/0.005646, allocations: 101.8 kB / 15.73 MB, free: 5.996 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.001557/0.001557, allocations: 190.3 kB / 16.67 MB, free: 5.914 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.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.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 68.14 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.328, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1818/0.5098, allocations: 161.5 MB / 1.246 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004597/0.5145, allocations: 3.505 MB / 1.249 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.5148, allocations: 15.88 kB / 1.249 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.5153, allocations: 123 kB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.5165, allocations: 473.9 kB / 1.25 GB, free: 11.22 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.5181, allocations: 0.6152 MB / 1.25 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006767/0.5187, allocations: 0.6283 MB / 1.251 GB, free: 9.977 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.5191, allocations: 228.7 kB / 1.251 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.5205, allocations: 337.6 kB / 1.251 GB, free: 9.434 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.5208, allocations: 203.1 kB / 1.252 GB, free: 9.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.5209, allocations: 24 kB / 1.252 GB, free: 9.211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.522, allocations: 0.5456 MB / 1.252 GB, free: 8.664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.5222, allocations: 107.7 kB / 1.252 GB, free: 8.559 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.5224, allocations: 139.3 kB / 1.252 GB, free: 8.422 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5236, allocations: 0.5531 MB / 1.253 GB, free: 7.867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5237, allocations: 0 / 1.253 GB, free: 7.867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5237, allocations: 0 / 1.253 GB, free: 7.867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.5237, allocations: 0 / 1.253 GB, free: 7.867 MB / 1.014 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.001232/0.5249, allocations: 0.6389 MB / 1.254 GB, free: 7.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.525, allocations: 11.97 kB / 1.254 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005137/0.5255, allocations: 75.5 kB / 1.254 GB, free: 7.094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.5259, allocations: 317.3 kB / 1.254 GB, free: 6.746 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.5259, allocations: 12.44 kB / 1.254 GB, free: 6.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.526, allocations: 20 kB / 1.254 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.5266, allocations: 312.1 kB / 1.254 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5266, allocations: 0 / 1.254 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.5266, allocations: 12 kB / 1.254 GB, free: 6.375 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.5266, allocations: 7.938 kB / 1.254 GB, free: 6.367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.5273, allocations: 256.6 kB / 1.255 GB, free: 6.117 MB / 1.014 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.00158/0.5289, allocations: 1.236 MB / 1.256 GB, free: 4.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.5293, allocations: 178.5 kB / 1.256 GB, free: 4.586 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.5296, allocations: 124.8 kB / 1.256 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005863/0.5302, allocations: 303.2 kB / 1.256 GB, free: 4.109 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.5302, allocations: 38.56 kB / 1.256 GB, free: 4.062 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.5302, allocations: 0 / 1.256 GB, free: 4.062 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002163/0.5324, allocations: 0.572 MB / 1.257 GB, free: 3.465 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.5324, allocations: 59.39 kB / 1.257 GB, free: 3.395 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.5327, allocations: 251 kB / 1.257 GB, free: 3.141 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.5327, allocations: 37.7 kB / 1.257 GB, free: 3.098 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.5328, allocations: 160.2 kB / 1.257 GB, free: 2.938 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.5329, allocations: 59.19 kB / 1.257 GB, free: 2.879 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.533, allocations: 37.7 kB / 1.257 GB, free: 2.836 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5331, allocations: 330.8 kB / 1.258 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.5334, allocations: 91.91 kB / 1.258 GB, free: 2.414 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.5337, allocations: 136.2 kB / 1.258 GB, free: 2.266 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.5342, allocations: 240.1 kB / 1.258 GB, free: 2.016 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5342, allocations: 0 / 1.258 GB, free: 2.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001085/0.5353, allocations: 357 kB / 1.259 GB, free: 1.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5354, allocations: 8 kB / 1.259 GB, free: 1.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.5354, allocations: 3.938 kB / 1.259 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.536, allocations: 88.86 kB / 1.259 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.5362, allocations: 35.97 kB / 1.259 GB, free: 1.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6374/1.174, allocations: 1.716 MB / 1.26 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/1.174, allocations: 34.86 kB / 1.26 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/1.174, allocations: 15.8 kB / 1.26 GB, free: 175.1 MB / 1.014 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.0001603/1.174, allocations: 146.3 kB / 1.261 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/1.174, allocations: 30.42 kB / 1.261 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/1.175, allocations: 364.1 kB / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.175, allocations: 2.031 kB / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.175, allocations: 0.8438 kB / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.176, allocations: 4.406 kB / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/1.177, allocations: 0.7736 MB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.177, allocations: 1.641 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/1.178, allocations: 35.92 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/1.178, allocations: 81.14 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/1.178, allocations: 6.812 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/1.18, allocations: 1.742 MB / 1.264 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.18, allocations: 1 kB / 1.264 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.181, allocations: 457.6 kB / 1.264 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.181, allocations: 122.5 kB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/1.181, allocations: 7.469 kB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/1.182, allocations: 26.3 kB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/1.182, allocations: 17.91 kB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/1.182, allocations: 7.688 kB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002433/1.182, allocations: 190.7 kB / 1.264 GB, free: 172.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.52e-07/1.182, allocations: 0 / 1.264 GB, free: 172.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005121/1.183, allocations: 85.95 kB / 1.264 GB, free: 172.9 MB / 1.014 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.0004526/1.183, allocations: 160.7 kB / 1.265 GB, free: 172.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001088/1.184, allocations: 369.2 kB / 1.265 GB, free: 172.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.184, allocations: 0 / 1.265 GB, free: 172.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005457/1.185, allocations: 256.2 kB / 1.265 GB, free: 172.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/1.185, allocations: 125.6 kB / 1.265 GB, free: 172.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/1.186, allocations: 0.493 MB / 1.266 GB, free: 172.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/1.187, allocations: 0.7754 MB / 1.267 GB, free: 171.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002064/1.187, allocations: 62.86 kB / 1.267 GB, free: 171.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/1.187, allocations: 20.56 kB / 1.267 GB, free: 171.6 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.187, allocations: 0 / 1.267 GB, free: 171.6 MB / 1.014 GB Notification: Performance of Templates: time 0.01403/1.201, allocations: 5.982 MB / 1.272 GB, free: 171.3 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches