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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001005/0.001005, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001275/0.001275, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003204, allocations: 10.28 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.256, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1469/0.4028, allocations: 146.6 MB / 1.201 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004253/0.4071, allocations: 3.266 MB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.4074, allocations: 7.938 kB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.4078, allocations: 95.3 kB / 1.205 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009058/0.4087, allocations: 342.3 kB / 1.205 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.4099, allocations: 473.7 kB / 1.205 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.4106, allocations: 0.7024 MB / 1.206 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.411, allocations: 172.5 kB / 1.206 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.4115, allocations: 287 kB / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.4118, allocations: 183.2 kB / 1.207 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.4119, allocations: 12 kB / 1.207 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.4125, allocations: 319.3 kB / 1.207 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.4126, allocations: 87.69 kB / 1.207 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.4127, allocations: 69.58 kB / 1.207 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.4132, allocations: 363.2 kB / 1.207 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4132, allocations: 0 / 1.207 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4132, allocations: 0 / 1.207 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.4132, allocations: 0 / 1.207 GB, free: 11.87 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.0009156/0.4141, allocations: 0.6 MB / 1.208 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.4141, allocations: 12.02 kB / 1.208 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.4147, allocations: 71.58 kB / 1.208 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.415, allocations: 281.5 kB / 1.208 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.415, allocations: 24.38 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.4151, allocations: 16 kB / 1.208 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.4157, allocations: 336.1 kB / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4157, allocations: 0 / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.4158, allocations: 8 kB / 1.209 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4158, allocations: 4 kB / 1.209 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.4164, allocations: 284.9 kB / 1.209 GB, free: 10.14 MB / 0.9669 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.001474/0.4179, allocations: 1.268 MB / 1.21 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.4183, allocations: 191.5 kB / 1.21 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.4187, allocations: 136.8 kB / 1.211 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005999/0.4193, allocations: 319.2 kB / 1.211 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.4193, allocations: 30.56 kB / 1.211 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.4193, allocations: 0 / 1.211 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.002123/0.4214, allocations: 0.6291 MB / 1.211 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.4215, allocations: 55.41 kB / 1.212 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.4217, allocations: 255 kB / 1.212 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.4218, allocations: 25.7 kB / 1.212 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.4219, allocations: 164.2 kB / 1.212 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.4219, allocations: 55.2 kB / 1.212 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.4219, allocations: 4 kB / 1.212 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.422, allocations: 334.8 kB / 1.212 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.4223, allocations: 111.9 kB / 1.212 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.4226, allocations: 153.9 kB / 1.213 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.423, allocations: 120 kB / 1.213 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.423, allocations: 0 / 1.213 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001086/0.4241, allocations: 388.1 kB / 1.213 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4241, allocations: 4 kB / 1.213 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4241, allocations: 0 / 1.213 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/0.4247, allocations: 92.83 kB / 1.213 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.4249, allocations: 55.95 kB / 1.213 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.427, allocations: 1.606 MB / 1.215 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.4273, allocations: 55.66 kB / 1.215 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.4273, allocations: 4 kB / 1.215 GB, free: 3.723 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.4274, allocations: 149.8 kB / 1.215 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.4275, allocations: 23.72 kB / 1.215 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.4286, allocations: 403.2 kB / 1.215 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4287, allocations: 0 / 1.215 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4287, allocations: 4 kB / 1.215 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4287, allocations: 3.953 kB / 1.215 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.4303, allocations: 0.8058 MB / 1.216 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4303, allocations: 4 kB / 1.216 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.4305, allocations: 47.91 kB / 1.216 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/0.431, allocations: 88.84 kB / 1.216 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.431, allocations: 4 kB / 1.216 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.4327, allocations: 1.622 MB / 1.218 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4327, allocations: 4.031 kB / 1.218 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.4338, allocations: 490.3 kB / 1.218 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.434, allocations: 116.8 kB / 1.218 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.434, allocations: 8.062 kB / 1.218 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.4343, allocations: 43.81 kB / 1.219 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.4344, allocations: 23.86 kB / 1.219 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.4344, allocations: 12 kB / 1.219 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001649/0.4346, allocations: 182 kB / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4346, allocations: 0 / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004264/0.435, allocations: 79.91 kB / 1.219 GB, free: 15.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000366/0.4354, allocations: 166.4 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009534/0.4363, allocations: 382.7 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4364, allocations: 0 / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.4369, allocations: 274.7 kB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.4377, allocations: 124.6 kB / 1.22 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.4386, allocations: 0.6192 MB / 1.22 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4389, allocations: 0.7716 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.4392, allocations: 58.23 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.4392, allocations: 19.44 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4392, allocations: 0 / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.01012/0.4494, allocations: 5.344 MB / 1.226 GB, free: 7.613 MB / 0.9825 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