Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001225/0.001225, allocations: 102.1 kB / 16.41 MB, free: 6.5 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.001301/0.001301, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 1.055 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8409, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2159/1.057, allocations: 181.8 MB / 1.386 GB, free: 7.105 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006885/1.064, allocations: 4.449 MB / 1.39 GB, free: 2.648 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008384/1.065, allocations: 19.88 kB / 1.39 GB, free: 2.629 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008874/1.066, allocations: 242.1 kB / 1.391 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/1.068, allocations: 0.7658 MB / 1.391 GB, free: 1.621 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/1.072, allocations: 1.521 MB / 1.393 GB, free: 104 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001972/1.074, allocations: 1.25 MB / 1.394 GB, free: 14.85 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009904/1.075, allocations: 447.3 kB / 1.394 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/1.076, allocations: 0.5799 MB / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008319/1.077, allocations: 410.3 kB / 1.395 GB, free: 13.42 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/1.077, allocations: 44 kB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/1.081, allocations: 1.551 MB / 1.397 GB, free: 11.82 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/1.081, allocations: 179.5 kB / 1.397 GB, free: 11.65 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005956/1.082, allocations: 306.5 kB / 1.397 GB, free: 11.35 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/1.085, allocations: 1.305 MB / 1.399 GB, free: 10.04 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.085, allocations: 0 / 1.399 GB, free: 10.04 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.236e-06/1.085, allocations: 4 kB / 1.399 GB, free: 10.04 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.52e-05/1.085, allocations: 3.938 kB / 1.399 GB, free: 10.03 MB / 1.123 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.00215/1.087, allocations: 1.01 MB / 1.4 GB, free: 8.961 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/1.087, allocations: 15.97 kB / 1.4 GB, free: 8.945 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/1.089, allocations: 286.9 kB / 1.4 GB, free: 8.664 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009202/1.09, allocations: 477.4 kB / 1.4 GB, free: 8.156 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/1.09, allocations: 29 kB / 1.4 GB, free: 8.129 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.09, allocations: 51.98 kB / 1.4 GB, free: 8.078 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.091, allocations: 0.5429 MB / 1.401 GB, free: 7.504 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/1.091, allocations: 3.984 kB / 1.401 GB, free: 7.5 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/1.091, allocations: 16 kB / 1.401 GB, free: 7.484 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/1.091, allocations: 11.94 kB / 1.401 GB, free: 7.473 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/1.093, allocations: 467.5 kB / 1.402 GB, free: 7.016 MB / 1.123 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.002718/1.095, allocations: 2.112 MB / 1.404 GB, free: 4.773 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.096, allocations: 406.3 kB / 1.404 GB, free: 4.367 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/1.097, allocations: 232.6 kB / 1.404 GB, free: 4.137 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007185/1.098, allocations: 396.3 kB / 1.405 GB, free: 3.676 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006392/1.098, allocations: 294.9 kB / 1.405 GB, free: 3.375 MB / 1.123 GB Notification: Performance of pre-optimization done (n=37): time 2.746e-06/1.098, allocations: 3.938 kB / 1.405 GB, free: 3.371 MB / 1.123 GB Notification: Performance of matching and sorting (n=37): time 0.001873/1.1, allocations: 0.6861 MB / 1.406 GB, free: 2.68 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/1.1, allocations: 59.39 kB / 1.406 GB, free: 2.609 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007548/1.101, allocations: 494 kB / 1.406 GB, free: 2.113 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/1.101, allocations: 37.7 kB / 1.406 GB, free: 2.07 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/1.101, allocations: 260.1 kB / 1.406 GB, free: 1.812 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/1.101, allocations: 118.3 kB / 1.406 GB, free: 1.695 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.102, allocations: 98.02 kB / 1.407 GB, free: 1.594 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002099/1.102, allocations: 362.8 kB / 1.407 GB, free: 1.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/1.102, allocations: 192.8 kB / 1.407 GB, free: 1.043 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/1.103, allocations: 328 kB / 1.407 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/1.104, allocations: 0.537 MB / 1.408 GB, free: 96 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.104, allocations: 4 kB / 1.408 GB, free: 92 kB / 1.123 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001501/1.106, allocations: 0.656 MB / 1.409 GB, free: 15.41 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/1.106, allocations: 59.41 kB / 1.409 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.106, allocations: 8 kB / 1.409 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/1.106, allocations: 11.97 kB / 1.409 GB, free: 15.32 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/1.106, allocations: 91.89 kB / 1.409 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/1.106, allocations: 11.92 kB / 1.409 GB, free: 15.22 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/1.107, allocations: 83.42 kB / 1.409 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/1.107, allocations: 24 kB / 1.409 GB, free: 15.12 MB / 1.139 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.0002879/1.107, allocations: 185.7 kB / 1.409 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.107, allocations: 55.34 kB / 1.409 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/1.109, allocations: 0.5369 MB / 1.41 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.109, allocations: 7.938 kB / 1.41 GB, free: 14.31 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.109, allocations: 0 / 1.41 GB, free: 14.31 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.109, allocations: 3.984 kB / 1.41 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/1.111, allocations: 1.343 MB / 1.411 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.111, allocations: 7.938 kB / 1.411 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/1.112, allocations: 75.88 kB / 1.411 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.517e-06/1.112, allocations: 8 kB / 1.411 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/1.112, allocations: 8.438 kB / 1.411 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/1.112, allocations: 15.94 kB / 1.411 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.112, allocations: 4 kB / 1.411 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/1.114, allocations: 0.9332 MB / 1.412 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/1.114, allocations: 176.2 kB / 1.412 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.114, allocations: 19.98 kB / 1.412 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/1.114, allocations: 36.03 kB / 1.412 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.115, allocations: 51.81 kB / 1.412 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/1.115, allocations: 16 kB / 1.412 GB, free: 11.44 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004268/1.115, allocations: 346.8 kB / 1.413 GB, free: 11.1 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/1.115, allocations: 0 / 1.413 GB, free: 11.1 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006171/1.116, allocations: 151.8 kB / 1.413 GB, free: 10.95 MB / 1.139 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.0004745/1.116, allocations: 200.9 kB / 1.413 GB, free: 10.76 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001254/1.117, allocations: 0.5808 MB / 1.413 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.117, allocations: 0 / 1.413 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/1.118, allocations: 264.9 kB / 1.414 GB, free: 9.895 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.119, allocations: 285 kB / 1.414 GB, free: 9.621 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/1.121, allocations: 1.059 MB / 1.415 GB, free: 8.488 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/1.122, allocations: 0.8743 MB / 1.416 GB, free: 7.586 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/1.122, allocations: 51.38 kB / 1.416 GB, free: 7.535 MB / 1.139 GB Notification: Performance of SimCode: time 6.21e-07/1.122, allocations: 0 / 1.416 GB, free: 7.535 MB / 1.139 GB Notification: Performance of Templates: time 0.01424/1.136, allocations: 9.075 MB / 1.425 GB, free: 14.56 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches