Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008839/0.008839, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001782/0.001782, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8495/0.851, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2423/1.093, allocations: 181.8 MB / 1.265 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006507/1.1, allocations: 4.444 MB / 1.27 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/1.101, allocations: 19.88 kB / 1.27 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/1.102, allocations: 242.1 kB / 1.27 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/1.105, allocations: 0.758 MB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004272/1.109, allocations: 1.521 MB / 1.272 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001675/1.111, allocations: 1.262 MB / 1.274 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/1.111, allocations: 439.3 kB / 1.274 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000922/1.112, allocations: 0.5721 MB / 1.274 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/1.113, allocations: 414.3 kB / 1.275 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/1.113, allocations: 44 kB / 1.275 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/1.116, allocations: 1.543 MB / 1.276 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/1.116, allocations: 191.4 kB / 1.277 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003123/1.116, allocations: 306.5 kB / 1.277 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/1.118, allocations: 1.305 MB / 1.278 GB, free: 10.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.118, allocations: 0 / 1.278 GB, free: 10.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/1.118, allocations: 0 / 1.278 GB, free: 10.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.118, allocations: 0 / 1.278 GB, free: 10.84 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001676/1.12, allocations: 1.021 MB / 1.279 GB, free: 9.762 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.12, allocations: 12.03 kB / 1.279 GB, free: 9.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/1.122, allocations: 282.9 kB / 1.279 GB, free: 9.473 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/1.123, allocations: 469.4 kB / 1.28 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/1.123, allocations: 40.88 kB / 1.28 GB, free: 8.934 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/1.123, allocations: 44 kB / 1.28 GB, free: 8.891 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/1.124, allocations: 0.5468 MB / 1.281 GB, free: 8.305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.124, allocations: 0 / 1.281 GB, free: 8.305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/1.124, allocations: 19.98 kB / 1.281 GB, free: 8.285 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/1.124, allocations: 15.94 kB / 1.281 GB, free: 8.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/1.125, allocations: 459.5 kB / 1.281 GB, free: 7.824 MB / 1.014 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.002475/1.127, allocations: 2.112 MB / 1.283 GB, free: 5.578 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009958/1.128, allocations: 406.5 kB / 1.283 GB, free: 5.172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/1.129, allocations: 224.6 kB / 1.284 GB, free: 4.949 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/1.13, allocations: 404.3 kB / 1.284 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/1.13, allocations: 283.8 kB / 1.284 GB, free: 4.191 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.305e-06/1.13, allocations: 0 / 1.284 GB, free: 4.191 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001858/1.132, allocations: 0.6912 MB / 1.285 GB, free: 3.492 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/1.132, allocations: 63.34 kB / 1.285 GB, free: 3.418 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/1.133, allocations: 494 kB / 1.286 GB, free: 2.922 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/1.133, allocations: 33.7 kB / 1.286 GB, free: 2.883 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/1.133, allocations: 256.1 kB / 1.286 GB, free: 2.629 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.133, allocations: 126.3 kB / 1.286 GB, free: 2.504 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/1.133, allocations: 94.03 kB / 1.286 GB, free: 2.406 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.133, allocations: 358.8 kB / 1.286 GB, free: 2.047 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/1.134, allocations: 204.8 kB / 1.287 GB, free: 1.848 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/1.134, allocations: 320 kB / 1.287 GB, free: 1.496 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.136, allocations: 0.5454 MB / 1.287 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.136, allocations: 64 / 1.287 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001321/1.137, allocations: 0.652 MB / 1.288 GB, free: 232 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/1.137, allocations: 69.83 kB / 1.288 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.137, allocations: 4 kB / 1.288 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.137, allocations: 4 kB / 1.288 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/1.137, allocations: 99.81 kB / 1.288 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.137, allocations: 4.25 kB / 1.288 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/1.138, allocations: 91.31 kB / 1.288 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/1.138, allocations: 23.98 kB / 1.288 GB, free: 15.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/1.138, allocations: 190.4 kB / 1.288 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/1.138, allocations: 59.33 kB / 1.289 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/1.14, allocations: 0.5303 MB / 1.289 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.14, allocations: 7.984 kB / 1.289 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/1.14, allocations: 0 / 1.289 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.14, allocations: 0 / 1.289 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/1.142, allocations: 1.35 MB / 1.29 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.142, allocations: 7.938 kB / 1.29 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/1.142, allocations: 76.33 kB / 1.29 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/1.142, allocations: 8 kB / 1.29 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/1.142, allocations: 8 kB / 1.29 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/1.142, allocations: 11.98 kB / 1.29 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.143, allocations: 7.938 kB / 1.29 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.144, allocations: 0.9406 MB / 1.291 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/1.144, allocations: 176.3 kB / 1.292 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/1.145, allocations: 8 kB / 1.292 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/1.145, allocations: 35.95 kB / 1.292 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.145, allocations: 51.83 kB / 1.292 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/1.145, allocations: 12 kB / 1.292 GB, free: 12.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000427/1.146, allocations: 354.9 kB / 1.292 GB, free: 11.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.146, allocations: 0 / 1.292 GB, free: 11.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000588/1.146, allocations: 143.8 kB / 1.292 GB, free: 11.77 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004692/1.147, allocations: 215.3 kB / 1.292 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001196/1.148, allocations: 0.5868 MB / 1.293 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.148, allocations: 0 / 1.293 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/1.149, allocations: 296.8 kB / 1.293 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.15, allocations: 286.6 kB / 1.293 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/1.152, allocations: 1.026 MB / 1.295 GB, free: 9.293 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/1.152, allocations: 0.8626 MB / 1.295 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000432/1.153, allocations: 132.7 kB / 1.295 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/1.153, allocations: 43.44 kB / 1.296 GB, free: 8.227 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/1.153, allocations: 4 kB / 1.296 GB, free: 8.223 MB / 1.029 GB Notification: Performance of Templates: time 0.01845/1.171, allocations: 10.84 MB / 1.306 GB, free: 13.55 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches