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.005669/0.005669, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.001753/0.001754, allocations: 189.4 kB / 16.67 MB, free: 5.523 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.411/1.411, 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.91 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9242/0.9254, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2157/1.141, allocations: 181.8 MB / 1.265 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005946/1.147, allocations: 4.449 MB / 1.27 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/1.148, allocations: 19.88 kB / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006487/1.148, allocations: 250.1 kB / 1.27 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/1.15, allocations: 0.7893 MB / 1.271 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/1.153, allocations: 1.548 MB / 1.272 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001439/1.155, allocations: 1.262 MB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000646/1.156, allocations: 455.3 kB / 1.274 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/1.156, allocations: 0.5838 MB / 1.275 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/1.157, allocations: 414.3 kB / 1.275 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/1.157, allocations: 44 kB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/1.16, allocations: 1.551 MB / 1.277 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/1.16, allocations: 187.4 kB / 1.277 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002963/1.16, allocations: 306.5 kB / 1.277 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/1.162, allocations: 1.305 MB / 1.278 GB, free: 10.72 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.162, allocations: 4 kB / 1.278 GB, free: 10.72 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/1.162, allocations: 0 / 1.278 GB, free: 10.72 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.162, allocations: 0 / 1.278 GB, free: 10.72 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.001659/1.164, allocations: 1.017 MB / 1.279 GB, free: 9.641 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/1.164, allocations: 12.03 kB / 1.279 GB, free: 9.629 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/1.166, allocations: 286.9 kB / 1.28 GB, free: 9.348 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/1.166, allocations: 469.4 kB / 1.28 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/1.166, allocations: 37 kB / 1.28 GB, free: 8.812 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.705e-05/1.167, allocations: 44 kB / 1.28 GB, free: 8.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/1.168, allocations: 0.5545 MB / 1.281 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.168, allocations: 0 / 1.281 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/1.168, allocations: 16 kB / 1.281 GB, free: 8.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/1.168, allocations: 15.94 kB / 1.281 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/1.169, allocations: 459.5 kB / 1.281 GB, free: 7.699 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.002429/1.171, allocations: 2.119 MB / 1.283 GB, free: 5.445 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000932/1.172, allocations: 398.5 kB / 1.284 GB, free: 5.047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/1.172, allocations: 236.6 kB / 1.284 GB, free: 4.812 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/1.173, allocations: 404.3 kB / 1.284 GB, free: 4.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005811/1.174, allocations: 283.8 kB / 1.284 GB, free: 4.055 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.284e-06/1.174, allocations: 4 kB / 1.284 GB, free: 4.051 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.00169/1.175, allocations: 0.6834 MB / 1.285 GB, free: 3.359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.176, allocations: 63.34 kB / 1.285 GB, free: 3.285 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/1.176, allocations: 498 kB / 1.286 GB, free: 2.785 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/1.176, allocations: 37.7 kB / 1.286 GB, free: 2.742 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/1.176, allocations: 256.1 kB / 1.286 GB, free: 2.488 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.176, allocations: 126.3 kB / 1.286 GB, free: 2.363 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1.177, allocations: 90.03 kB / 1.286 GB, free: 2.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.177, allocations: 362.8 kB / 1.286 GB, free: 1.906 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/1.177, allocations: 200.8 kB / 1.287 GB, free: 1.711 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/1.178, allocations: 312.1 kB / 1.287 GB, free: 1.367 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009359/1.179, allocations: 0.5454 MB / 1.287 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.179, allocations: 4 kB / 1.287 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001195/1.18, allocations: 0.652 MB / 1.288 GB, free: 96 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/1.18, allocations: 63.39 kB / 1.288 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.18, allocations: 0 / 1.288 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.18, allocations: 11.94 kB / 1.288 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/1.18, allocations: 95.81 kB / 1.288 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/1.18, allocations: 8 kB / 1.288 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/1.181, allocations: 83.58 kB / 1.288 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/1.181, allocations: 20 kB / 1.288 GB, free: 15.8 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.0002163/1.181, allocations: 194.9 kB / 1.289 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/1.181, allocations: 55.33 kB / 1.289 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/1.182, allocations: 0.5304 MB / 1.289 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/1.182, allocations: 4.062 kB / 1.289 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.182, allocations: 7.984 kB / 1.289 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.183, allocations: 11.88 kB / 1.289 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/1.185, allocations: 1.346 MB / 1.29 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.185, allocations: 7.938 kB / 1.29 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/1.185, allocations: 71.89 kB / 1.291 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/1.185, allocations: 4.438 kB / 1.291 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/1.185, allocations: 16 kB / 1.291 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.185, allocations: 7.984 kB / 1.291 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.185, allocations: 7.938 kB / 1.291 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/1.187, allocations: 0.9328 MB / 1.292 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/1.187, allocations: 176.3 kB / 1.292 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/1.187, allocations: 16.06 kB / 1.292 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/1.187, allocations: 35.95 kB / 1.292 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.188, allocations: 43.89 kB / 1.292 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/1.188, allocations: 16 kB / 1.292 GB, free: 12.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003926/1.188, allocations: 354.8 kB / 1.292 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.188, allocations: 4 kB / 1.292 GB, free: 11.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005676/1.189, allocations: 151.8 kB / 1.292 GB, free: 11.64 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.0004328/1.189, allocations: 197.3 kB / 1.292 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.19, allocations: 0.5841 MB / 1.293 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.19, allocations: 0 / 1.293 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000698/1.191, allocations: 295.6 kB / 1.293 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/1.192, allocations: 283.9 kB / 1.294 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/1.194, allocations: 1.03 MB / 1.295 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.194, allocations: 0.8704 MB / 1.295 GB, free: 8.273 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003788/1.195, allocations: 128.7 kB / 1.296 GB, free: 8.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/1.195, allocations: 39.44 kB / 1.296 GB, free: 8.105 MB / 1.029 GB Notification: Performance of SimCode: time 2.4e-07/1.195, allocations: 3.938 kB / 1.296 GB, free: 8.102 MB / 1.029 GB Notification: Performance of Templates: time 0.01715/1.212, allocations: 10.84 MB / 1.306 GB, free: 13.43 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