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.001382/0.001382, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.001472/0.001472, allocations: 196 kB / 17.31 MB, free: 5.613 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.27 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2814, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6732/0.9547, allocations: 161.5 MB / 1.184 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.9597, allocations: 3.497 MB / 1.188 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.96, allocations: 9.812 kB / 1.188 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.9606, allocations: 128.8 kB / 1.188 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.9618, allocations: 455.1 kB / 1.188 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.9634, allocations: 0.6045 MB / 1.189 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007717/0.9642, allocations: 0.6303 MB / 1.19 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.9645, allocations: 226.1 kB / 1.19 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.9658, allocations: 340.3 kB / 1.19 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.9661, allocations: 203.2 kB / 1.19 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.9661, allocations: 21.91 kB / 1.19 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.9671, allocations: 0.544 MB / 1.191 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.9673, allocations: 100.1 kB / 1.191 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.9674, allocations: 144.1 kB / 1.191 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007736/0.9682, allocations: 0.5462 MB / 1.192 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.9682, allocations: 0 / 1.192 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9682, allocations: 1.094 kB / 1.192 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.9682, allocations: 0 / 1.192 GB, free: 12.93 MB / 0.9044 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.001013/0.9693, allocations: 0.6421 MB / 1.192 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.9693, allocations: 9.281 kB / 1.192 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.9698, allocations: 75.97 kB / 1.192 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.9703, allocations: 302.3 kB / 1.193 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.9703, allocations: 21.27 kB / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.9703, allocations: 16.22 kB / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.9709, allocations: 318.6 kB / 1.193 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.971, allocations: 0 / 1.193 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.971, allocations: 9.906 kB / 1.193 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.971, allocations: 7.406 kB / 1.193 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.9717, allocations: 252.3 kB / 1.193 GB, free: 11.69 MB / 0.9044 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.001586/0.9732, allocations: 1.242 MB / 1.194 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.9737, allocations: 175.3 kB / 1.195 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.974, allocations: 120.5 kB / 1.195 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/0.9746, allocations: 306.4 kB / 1.195 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.9747, allocations: 36.78 kB / 1.195 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.9747, allocations: 0 / 1.195 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.002239/0.9769, allocations: 0.5735 MB / 1.196 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.977, allocations: 56.66 kB / 1.196 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.9772, allocations: 260 kB / 1.196 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.9773, allocations: 27.08 kB / 1.196 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.9774, allocations: 165.9 kB / 1.196 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.9774, allocations: 50.17 kB / 1.196 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.9775, allocations: 37.98 kB / 1.196 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9776, allocations: 337.7 kB / 1.197 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.9779, allocations: 93.42 kB / 1.197 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.9782, allocations: 139.2 kB / 1.197 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/0.9788, allocations: 239.3 kB / 1.197 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9788, allocations: 0 / 1.197 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001154/0.98, allocations: 354.9 kB / 1.197 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.98, allocations: 6.406 kB / 1.197 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.98, allocations: 1.188 kB / 1.197 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/0.9807, allocations: 91.73 kB / 1.197 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.9809, allocations: 44.23 kB / 1.197 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.9831, allocations: 1.727 MB / 1.199 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.9834, allocations: 34.7 kB / 1.199 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.9834, allocations: 12.64 kB / 1.199 GB, free: 6.633 MB / 0.9044 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.0001525/0.9836, allocations: 148.5 kB / 1.199 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.9836, allocations: 21.78 kB / 1.199 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.9847, allocations: 366.9 kB / 1.2 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.9847, allocations: 3.984 kB / 1.2 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.9848, allocations: 2.531 kB / 1.2 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9848, allocations: 4 kB / 1.2 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.9864, allocations: 0.7695 MB / 1.2 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.9864, allocations: 0 / 1.2 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.9866, allocations: 35.12 kB / 1.201 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/0.9871, allocations: 76.72 kB / 1.201 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.9871, allocations: 10.5 kB / 1.201 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.989, allocations: 1.752 MB / 1.202 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.989, allocations: 0 / 1.202 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.9901, allocations: 458.3 kB / 1.203 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.9902, allocations: 120.6 kB / 1.203 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.9903, allocations: 2.375 kB / 1.203 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.9905, allocations: 26.41 kB / 1.203 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.9906, allocations: 24.39 kB / 1.203 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.9906, allocations: 8.266 kB / 1.203 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001533/0.9908, allocations: 189.6 kB / 1.203 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9908, allocations: 0 / 1.203 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004214/0.9912, allocations: 83.91 kB / 1.203 GB, free: 3.305 MB / 0.9044 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.0003565/0.9916, allocations: 159.3 kB / 1.203 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009288/0.9925, allocations: 361.9 kB / 1.204 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9926, allocations: 3.938 kB / 1.204 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.9931, allocations: 257.9 kB / 1.204 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.9938, allocations: 127.9 kB / 1.204 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/0.9947, allocations: 0.4984 MB / 1.205 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.995, allocations: 0.7712 MB / 1.205 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.9952, allocations: 56.38 kB / 1.205 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.9953, allocations: 20.34 kB / 1.205 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.9953, allocations: 0 / 1.205 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.0102/1.005, allocations: 5.94 MB / 1.211 GB, free: 14.62 MB / 0.92 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 -s gbode -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