Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00137/0.00137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001633/0.001633, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.84 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3328, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1784/0.5112, allocations: 159.3 MB / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004847/0.5161, allocations: 3.526 MB / 1.211 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.5165, allocations: 7.938 kB / 1.211 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.517, allocations: 95.3 kB / 1.211 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.5183, allocations: 430.2 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.5198, allocations: 0.5329 MB / 1.212 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008549/0.5207, allocations: 0.8155 MB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.521, allocations: 192.7 kB / 1.213 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.5227, allocations: 314 kB / 1.213 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.523, allocations: 207.2 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.5231, allocations: 12 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5241, allocations: 0.6234 MB / 1.214 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.5242, allocations: 95.69 kB / 1.214 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.5244, allocations: 131.3 kB / 1.214 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008215/0.5252, allocations: 0.5803 MB / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5252, allocations: 0 / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5252, allocations: 0 / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.5253, allocations: 0 / 1.215 GB, free: 1.457 MB / 0.9669 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.001147/0.5264, allocations: 0.6311 MB / 1.216 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5265, allocations: 15.97 kB / 1.216 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.527, allocations: 79.5 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.5274, allocations: 293.3 kB / 1.216 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5274, allocations: 16.44 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.5275, allocations: 16 kB / 1.216 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.5282, allocations: 312.2 kB / 1.216 GB, free: 16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5282, allocations: 8 kB / 1.216 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.5282, allocations: 4 kB / 1.216 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.5283, allocations: 11.88 kB / 1.216 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.5289, allocations: 256.9 kB / 1.217 GB, free: 15.72 MB / 0.9825 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.001629/0.5306, allocations: 1.245 MB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.531, allocations: 170.5 kB / 1.218 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.5314, allocations: 128.8 kB / 1.218 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/0.532, allocations: 299.2 kB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.532, allocations: 30.56 kB / 1.218 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.532, allocations: 4 kB / 1.218 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002275/0.5343, allocations: 0.5795 MB / 1.219 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.5344, allocations: 51.41 kB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.5346, allocations: 259 kB / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.5347, allocations: 25.7 kB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5348, allocations: 168.2 kB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.5348, allocations: 55.19 kB / 1.219 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.5349, allocations: 37.7 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.535, allocations: 334.8 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.5353, allocations: 91.92 kB / 1.22 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.5356, allocations: 144.1 kB / 1.22 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.5362, allocations: 232.1 kB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.5362, allocations: 0 / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001134/0.5374, allocations: 361.8 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5374, allocations: 4 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5374, allocations: 128 / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.5381, allocations: 88.77 kB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.5383, allocations: 43.95 kB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.5405, allocations: 1.613 MB / 1.222 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.5408, allocations: 35.81 kB / 1.222 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.5408, allocations: 7.938 kB / 1.222 GB, free: 9.324 MB / 0.9825 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.0001569/0.541, allocations: 141.8 kB / 1.223 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.541, allocations: 23.72 kB / 1.223 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.5422, allocations: 379.3 kB / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5422, allocations: 0 / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.5422, allocations: 0 / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5422, allocations: 0 / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.5439, allocations: 0.7824 MB / 1.224 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5439, allocations: 0 / 1.224 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.5441, allocations: 35.91 kB / 1.224 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/0.5447, allocations: 92.84 kB / 1.224 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.5447, allocations: 4 kB / 1.224 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.5466, allocations: 1.617 MB / 1.225 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5466, allocations: 12.03 kB / 1.225 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.5478, allocations: 450.3 kB / 1.226 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.5479, allocations: 124.6 kB / 1.226 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.548, allocations: 12 kB / 1.226 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.5482, allocations: 19.97 kB / 1.226 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.5483, allocations: 19.97 kB / 1.226 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.5484, allocations: 12.06 kB / 1.226 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001682/0.5485, allocations: 186 kB / 1.226 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5485, allocations: 0 / 1.226 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004435/0.549, allocations: 83.78 kB / 1.226 GB, free: 5.09 MB / 0.9825 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.0004107/0.5494, allocations: 164.2 kB / 1.226 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.5504, allocations: 356.1 kB / 1.227 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5504, allocations: 0 / 1.227 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.551, allocations: 266.7 kB / 1.227 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/0.5518, allocations: 113.7 kB / 1.227 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.5528, allocations: 0.592 MB / 1.228 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.5531, allocations: 0.7716 MB / 1.228 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.5534, allocations: 58.23 kB / 1.228 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.5534, allocations: 23.44 kB / 1.229 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.5534, allocations: 0 / 1.229 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of Templates: time 0.0107/0.5642, allocations: 5.538 MB / 1.234 GB, free: 13.22 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches