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.001074/0.001074, allocations: 92.16 kB / 16.02 MB, free: 80 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.001356/0.001356, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.917/2.917, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004357, allocations: 12.27 kB / 0.9034 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2071/0.5452, allocations: 177.2 MB / 1.232 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007496/0.5527, allocations: 4.432 MB / 1.237 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008806/0.5536, allocations: 15.88 kB / 1.237 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00091/0.5546, allocations: 190.7 kB / 1.237 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.557, allocations: 0.7078 MB / 1.238 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.5613, allocations: 1.409 MB / 1.239 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002251/0.5635, allocations: 1.691 MB / 1.241 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008123/0.5644, allocations: 369.8 kB / 1.241 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.5659, allocations: 0.5136 MB / 1.241 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00087/0.5668, allocations: 406.2 kB / 1.242 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.567, allocations: 31.98 kB / 1.242 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.5708, allocations: 1.808 MB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.5711, allocations: 171.5 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.5718, allocations: 308.2 kB / 1.244 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.5735, allocations: 0.8964 MB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5735, allocations: 0 / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.867e-06/0.5735, allocations: 0 / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.688e-05/0.5736, allocations: 3.938 kB / 1.245 GB, free: 6.16 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.002053/0.5756, allocations: 0.9202 MB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5757, allocations: 11.97 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.5778, allocations: 290.9 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.5787, allocations: 449.4 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.5788, allocations: 33 kB / 1.247 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5789, allocations: 40 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.5801, allocations: 0.5625 MB / 1.247 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.5801, allocations: 11.88 kB / 1.247 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.5802, allocations: 19.94 kB / 1.247 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5802, allocations: 12 kB / 1.247 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.5813, allocations: 487.5 kB / 1.248 GB, free: 3.211 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.002975/0.5843, allocations: 2.135 MB / 1.25 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.5854, allocations: 438.4 kB / 1.25 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/0.586, allocations: 237.3 kB / 1.25 GB, free: 276 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.661/1.247, allocations: 406.5 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009564/1.248, allocations: 310.9 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 3.386e-06/1.248, allocations: 1.141 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.002257/1.25, allocations: 0.7365 MB / 1.252 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/1.25, allocations: 65.27 kB / 1.252 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007752/1.251, allocations: 492 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/1.251, allocations: 33.05 kB / 1.252 GB, free: 193 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/1.251, allocations: 268.2 kB / 1.253 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.252, allocations: 125.7 kB / 1.253 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/1.252, allocations: 43.95 kB / 1.253 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.252, allocations: 365.8 kB / 1.253 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/1.252, allocations: 213.4 kB / 1.253 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/1.253, allocations: 334.6 kB / 1.254 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/1.254, allocations: 0.5716 MB / 1.254 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/1.254, allocations: 4.344 kB / 1.254 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001528/1.256, allocations: 0.6767 MB / 1.255 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/1.256, allocations: 59.16 kB / 1.255 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.256, allocations: 5.984 kB / 1.255 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.256, allocations: 5.375 kB / 1.255 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/1.256, allocations: 105.8 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.256, allocations: 8.641 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/1.257, allocations: 91.03 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/1.257, allocations: 28.41 kB / 1.255 GB, free: 192 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.0002261/1.257, allocations: 193.8 kB / 1.255 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/1.257, allocations: 53.91 kB / 1.255 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/1.258, allocations: 0.5663 MB / 1.256 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.258, allocations: 6.594 kB / 1.256 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.258, allocations: 0 / 1.256 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.258, allocations: 3.234 kB / 1.256 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/1.261, allocations: 1.381 MB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.261, allocations: 6.75 kB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/1.261, allocations: 86.33 kB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.261, allocations: 9.797 kB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/1.261, allocations: 16.06 kB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.261, allocations: 2.906 kB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.261, allocations: 5.5 kB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/1.263, allocations: 0.9899 MB / 1.258 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/1.263, allocations: 170.2 kB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/1.263, allocations: 15.06 kB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/1.263, allocations: 54.08 kB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.264, allocations: 47.89 kB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/1.264, allocations: 23.12 kB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004106/1.264, allocations: 347.9 kB / 1.259 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.264, allocations: 1.531 kB / 1.259 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005762/1.265, allocations: 148 kB / 1.259 GB, free: 190.8 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.0004043/1.265, allocations: 196.4 kB / 1.259 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001217/1.266, allocations: 0.6181 MB / 1.26 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.266, allocations: 0 / 1.26 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005989/1.267, allocations: 279.9 kB / 1.26 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.269, allocations: 277.5 kB / 1.261 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/1.271, allocations: 1.284 MB / 1.262 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/1.271, allocations: 0.8709 MB / 1.263 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/1.271, allocations: 48.44 kB / 1.263 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.271, allocations: 0 / 1.263 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.02317/1.295, allocations: 8.93 MB / 1.271 GB, free: 188.4 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