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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001438/0.001438, allocations: 108.2 kB / 16.41 MB, free: 6.387 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.00149/0.00149, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.587/2.587, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7653/0.7667, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1615/0.9282, allocations: 161.5 MB / 1.384 GB, free: 11.35 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005021/0.9333, allocations: 3.495 MB / 1.387 GB, free: 7.848 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.9336, allocations: 7.938 kB / 1.387 GB, free: 7.84 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.9341, allocations: 139 kB / 1.388 GB, free: 7.703 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.9352, allocations: 469.9 kB / 1.388 GB, free: 7.242 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.9367, allocations: 0.6026 MB / 1.389 GB, free: 6.641 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006625/0.9374, allocations: 0.6244 MB / 1.389 GB, free: 6.016 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.9377, allocations: 232.7 kB / 1.389 GB, free: 5.793 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.9389, allocations: 359.7 kB / 1.39 GB, free: 5.457 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.9392, allocations: 199.1 kB / 1.39 GB, free: 5.262 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.9393, allocations: 20 kB / 1.39 GB, free: 5.242 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009199/0.9402, allocations: 0.5495 MB / 1.391 GB, free: 4.691 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.9403, allocations: 99.7 kB / 1.391 GB, free: 4.594 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.9405, allocations: 143.2 kB / 1.391 GB, free: 4.453 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.9414, allocations: 0.5536 MB / 1.391 GB, free: 3.902 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9414, allocations: 4 kB / 1.391 GB, free: 3.898 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9414, allocations: 0 / 1.391 GB, free: 3.898 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.9414, allocations: 0 / 1.391 GB, free: 3.898 MB / 1.107 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.001088/0.9425, allocations: 0.646 MB / 1.392 GB, free: 3.199 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.9425, allocations: 8.031 kB / 1.392 GB, free: 3.191 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.9431, allocations: 87.64 kB / 1.392 GB, free: 3.105 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.9435, allocations: 305.5 kB / 1.392 GB, free: 2.766 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.9435, allocations: 20.44 kB / 1.392 GB, free: 2.746 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.9436, allocations: 16 kB / 1.392 GB, free: 2.73 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.9442, allocations: 316.1 kB / 1.393 GB, free: 2.402 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.9442, allocations: 0 / 1.393 GB, free: 2.402 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.9442, allocations: 8 kB / 1.393 GB, free: 2.395 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.9443, allocations: 11.94 kB / 1.393 GB, free: 2.383 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.9449, allocations: 248.9 kB / 1.393 GB, free: 2.141 MB / 1.107 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.001608/0.9465, allocations: 1.244 MB / 1.394 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.947, allocations: 174.5 kB / 1.394 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.9473, allocations: 128.8 kB / 1.394 GB, free: 484 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/0.9479, allocations: 299.2 kB / 1.395 GB, free: 128 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.9479, allocations: 30.56 kB / 1.395 GB, free: 88 kB / 1.107 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.9479, allocations: 0 / 1.395 GB, free: 88 kB / 1.107 GB Notification: Performance of matching and sorting (n=14): time 0.00227/0.9502, allocations: 0.5849 MB / 1.395 GB, free: 15.47 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.9502, allocations: 51.41 kB / 1.395 GB, free: 15.41 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.9505, allocations: 259 kB / 1.396 GB, free: 15.15 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.9505, allocations: 25.7 kB / 1.396 GB, free: 15.12 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.9506, allocations: 168.3 kB / 1.396 GB, free: 14.95 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.9507, allocations: 47.58 kB / 1.396 GB, free: 14.9 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.9508, allocations: 45.66 kB / 1.396 GB, free: 14.85 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9509, allocations: 338.8 kB / 1.396 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.9512, allocations: 91.92 kB / 1.396 GB, free: 14.42 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.9515, allocations: 140.2 kB / 1.396 GB, free: 14.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/0.9521, allocations: 232.1 kB / 1.397 GB, free: 14.03 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9521, allocations: 0 / 1.397 GB, free: 14.03 MB / 1.123 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001159/0.9532, allocations: 361.7 kB / 1.397 GB, free: 13.67 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.9533, allocations: 4 kB / 1.397 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.9533, allocations: 0 / 1.397 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.9539, allocations: 88.89 kB / 1.397 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.9542, allocations: 47.89 kB / 1.397 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.9564, allocations: 1.731 MB / 1.399 GB, free: 11.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.9567, allocations: 35.8 kB / 1.399 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.9567, allocations: 8 kB / 1.399 GB, free: 11.61 MB / 1.123 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.0001387/0.9569, allocations: 141.8 kB / 1.399 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.9569, allocations: 27.81 kB / 1.399 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.9581, allocations: 372 kB / 1.399 GB, free: 11.06 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9581, allocations: 0 / 1.399 GB, free: 11.06 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9581, allocations: 0 / 1.399 GB, free: 11.06 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.9582, allocations: 120.9 kB / 1.4 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.9583, allocations: 4 kB / 1.4 GB, free: 10.92 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.9585, allocations: 19.97 kB / 1.4 GB, free: 10.9 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.9586, allocations: 15.98 kB / 1.4 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001093/0.9597, allocations: 411.1 kB / 1.4 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009849/0.9607, allocations: 0.5685 MB / 1.401 GB, free: 9.891 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002851/0.961, allocations: 110.1 kB / 1.401 GB, free: 9.785 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000152/0.9612, allocations: 186 kB / 1.401 GB, free: 9.605 MB / 1.123 GB Notification: Performance of Backend: time 4.31e-07/0.9612, allocations: 0 / 1.401 GB, free: 9.605 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.9626, allocations: 485.8 kB / 1.401 GB, free: 9.113 MB / 1.123 GB Notification: Performance of SimCode: time 0.001122/0.9637, allocations: 0.9884 MB / 1.402 GB, free: 8.086 MB / 1.123 GB Notification: Performance of Templates: time 0.01176/0.9755, allocations: 6.726 MB / 1.409 GB, free: 1.422 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches