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.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.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.001374/0.001374, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.688/2.688, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 72.38 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3584, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2105/0.5688, allocations: 179.5 MB / 1.228 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00692/0.5758, allocations: 4.491 MB / 1.232 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009328/0.5768, allocations: 19.88 kB / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009184/0.5777, allocations: 190.7 kB / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.5801, allocations: 0.7079 MB / 1.233 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.5837, allocations: 1.401 MB / 1.235 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.5855, allocations: 1.687 MB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005419/0.586, allocations: 382.2 kB / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009262/0.587, allocations: 0.5252 MB / 1.237 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.5874, allocations: 422.2 kB / 1.238 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.5875, allocations: 32 kB / 1.238 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.5905, allocations: 1.804 MB / 1.239 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.5908, allocations: 183.4 kB / 1.24 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.5911, allocations: 286.5 kB / 1.24 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.5923, allocations: 0.9044 MB / 1.241 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.5923, allocations: 0 / 1.241 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.21e-07/0.5924, allocations: 4 kB / 1.241 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5924, allocations: 0 / 1.241 GB, free: 7.047 MB / 0.9981 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.001732/0.5941, allocations: 1.017 MB / 1.242 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5941, allocations: 11.97 kB / 1.242 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.5962, allocations: 283 kB / 1.242 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/0.5969, allocations: 445.3 kB / 1.242 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.597, allocations: 36.98 kB / 1.243 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.5971, allocations: 44 kB / 1.243 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009936/0.5981, allocations: 0.5468 MB / 1.243 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5981, allocations: 3.984 kB / 1.243 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.5981, allocations: 16 kB / 1.243 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.5982, allocations: 15.94 kB / 1.243 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.5992, allocations: 459.5 kB / 1.244 GB, free: 4.055 MB / 0.9981 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.00244/0.6016, allocations: 2.119 MB / 1.246 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009645/0.6026, allocations: 414.4 kB / 1.246 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.6031, allocations: 229.2 kB / 1.246 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006902/0.6038, allocations: 396.3 kB / 1.247 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006175/0.6044, allocations: 294.7 kB / 1.247 GB, free: 408 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.6044, allocations: 0 / 1.247 GB, free: 408 kB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.6606/1.265, allocations: 0.6828 MB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.265, allocations: 58.52 kB / 1.248 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007157/1.266, allocations: 494.1 kB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/1.266, allocations: 37.84 kB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/1.266, allocations: 262.8 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/1.266, allocations: 124.4 kB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.266, allocations: 91.38 kB / 1.249 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.267, allocations: 363.8 kB / 1.249 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/1.267, allocations: 195.8 kB / 1.249 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/1.268, allocations: 318.8 kB / 1.249 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/1.269, allocations: 0.5381 MB / 1.25 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.269, allocations: 1 kB / 1.25 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001352/1.27, allocations: 0.6502 MB / 1.251 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/1.27, allocations: 62.03 kB / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.27, allocations: 3.062 kB / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.27, allocations: 5.688 kB / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/1.271, allocations: 96.83 kB / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.271, allocations: 9.281 kB / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/1.272, allocations: 87.2 kB / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/1.272, allocations: 24.72 kB / 1.251 GB, free: 195.3 MB / 0.9981 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.0002407/1.272, allocations: 191.7 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/1.272, allocations: 56.75 kB / 1.251 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/1.273, allocations: 0.5379 MB / 1.252 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.273, allocations: 2.875 kB / 1.252 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.273, allocations: 0 / 1.252 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/1.273, allocations: 2.906 kB / 1.252 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/1.275, allocations: 1.349 MB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.275, allocations: 5.312 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/1.276, allocations: 74 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.276, allocations: 10.66 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/1.276, allocations: 13.89 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.276, allocations: 6.062 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.276, allocations: 10.02 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/1.277, allocations: 0.9372 MB / 1.254 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/1.277, allocations: 175.2 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/1.277, allocations: 16.84 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/1.278, allocations: 43.94 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.278, allocations: 50.27 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/1.278, allocations: 19.69 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003545/1.278, allocations: 344.4 kB / 1.255 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.278, allocations: 2.344 kB / 1.255 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005943/1.279, allocations: 149.3 kB / 1.255 GB, free: 194.1 MB / 0.9981 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.0004332/1.279, allocations: 200.3 kB / 1.255 GB, free: 194 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001156/1.281, allocations: 0.5751 MB / 1.255 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.281, allocations: 0 / 1.255 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006018/1.281, allocations: 267.8 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/1.283, allocations: 275.3 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/1.284, allocations: 1.249 MB / 1.257 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/1.285, allocations: 0.8597 MB / 1.258 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/1.285, allocations: 45.2 kB / 1.258 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/1.285, allocations: 4 kB / 1.258 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.01977/1.305, allocations: 9.019 MB / 1.267 GB, free: 191.7 MB / 0.9981 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