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.0009857/0.0009859, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008677/0.008677, allocations: 169.5 kB / 16.26 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 462.6 MB / 0.7363 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 14.88 kB / 0.9027 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 159.6 MB / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1735/0.49, allocations: 157.2 MB / 1.212 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.4945, allocations: 3.463 MB / 1.216 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.4948, allocations: 15.81 kB / 1.216 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.4952, allocations: 107.3 kB / 1.216 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.4963, allocations: 426.2 kB / 1.216 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.4976, allocations: 0.5362 MB / 1.217 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007685/0.4984, allocations: 0.8116 MB / 1.217 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.4987, allocations: 180.7 kB / 1.218 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.5002, allocations: 309.7 kB / 1.218 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.5005, allocations: 195.1 kB / 1.218 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.5005, allocations: 12 kB / 1.218 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009569/0.5015, allocations: 0.6312 MB / 1.219 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.5016, allocations: 79.72 kB / 1.219 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.5017, allocations: 157 kB / 1.219 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.5024, allocations: 0.5647 MB / 1.219 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5024, allocations: 4 kB / 1.219 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5024, allocations: 0 / 1.219 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5025, allocations: 0 / 1.219 GB, free: 15.8 MB / 0.9825 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.0009736/0.5034, allocations: 0.6039 MB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5035, allocations: 8.031 kB / 1.22 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.504, allocations: 75.52 kB / 1.22 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.5043, allocations: 297.3 kB / 1.22 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5043, allocations: 16.44 kB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.5044, allocations: 20 kB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.505, allocations: 332.1 kB / 1.221 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5051, allocations: 0 / 1.221 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.5051, allocations: 12 kB / 1.221 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5051, allocations: 7.938 kB / 1.221 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/0.5058, allocations: 284.9 kB / 1.221 GB, free: 14.05 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.001479/0.5073, allocations: 1.26 MB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.5077, allocations: 190.5 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.5081, allocations: 148.7 kB / 1.223 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.5086, allocations: 311.2 kB / 1.223 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5087, allocations: 38.55 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.5087, allocations: 3.938 kB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.00229/0.511, allocations: 0.6262 MB / 1.224 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.511, allocations: 51.41 kB / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.5113, allocations: 267 kB / 1.224 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.5113, allocations: 29.7 kB / 1.224 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.5115, allocations: 160.2 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.5115, allocations: 55.2 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.5115, allocations: 21.7 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5117, allocations: 338.8 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.512, allocations: 107.9 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.5124, allocations: 153.9 kB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.513, allocations: 268.1 kB / 1.225 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.513, allocations: 4 kB / 1.225 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001231/0.5143, allocations: 377.9 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5143, allocations: 12.03 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5143, allocations: 0 / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.515, allocations: 88.77 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.5152, allocations: 55.89 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.5175, allocations: 1.591 MB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.5177, allocations: 51.78 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.5178, allocations: 7.938 kB / 1.227 GB, free: 7.449 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.0001812/0.518, allocations: 154.2 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.518, allocations: 23.72 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.5193, allocations: 407.9 kB / 1.228 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5193, allocations: 8 kB / 1.228 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.5193, allocations: 0 / 1.228 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5193, allocations: 0 / 1.228 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.5211, allocations: 0.8059 MB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5211, allocations: 0 / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.5213, allocations: 44.06 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/0.5218, allocations: 92.75 kB / 1.228 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.5219, allocations: 8 kB / 1.229 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.524, allocations: 1.621 MB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.524, allocations: 12.03 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.5253, allocations: 489.2 kB / 1.231 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.5255, allocations: 124.7 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.5255, allocations: 4 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.5258, allocations: 35.97 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.526, allocations: 15.97 kB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.526, allocations: 12 kB / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002208/0.5262, allocations: 186 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5262, allocations: 4 kB / 1.231 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004954/0.5267, allocations: 79.78 kB / 1.231 GB, free: 3.086 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.0005256/0.5273, allocations: 168.9 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.5284, allocations: 390.6 kB / 1.232 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5284, allocations: 0 / 1.232 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.529, allocations: 274.7 kB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/0.5299, allocations: 115 kB / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.531, allocations: 0.6219 MB / 1.233 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.5314, allocations: 0.7716 MB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.5316, allocations: 50.25 kB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.5317, allocations: 23.44 kB / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.5317, allocations: 0 / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of Templates: time 0.01065/0.5423, allocations: 5.495 MB / 1.239 GB, free: 11.18 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