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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 128 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.001414/0.001414, allocations: 197.6 kB / 16.53 MB, free: 6.672 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 65.64 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4258, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2014/0.6272, allocations: 181.8 MB / 1.246 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6938/1.321, allocations: 4.453 MB / 1.25 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/1.322, allocations: 22.81 kB / 1.25 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000824/1.323, allocations: 245.9 kB / 1.25 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002816/1.326, allocations: 0.7536 MB / 1.251 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004928/1.331, allocations: 1.508 MB / 1.252 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002375/1.333, allocations: 1.256 MB / 1.254 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000783/1.334, allocations: 445.7 kB / 1.254 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/1.335, allocations: 0.5699 MB / 1.255 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/1.336, allocations: 408.7 kB / 1.255 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.699e-05/1.336, allocations: 45.47 kB / 1.255 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004134/1.34, allocations: 1.541 MB / 1.257 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/1.341, allocations: 192.3 kB / 1.257 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005064/1.341, allocations: 302.8 kB / 1.257 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/1.344, allocations: 1.296 MB / 1.258 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.344, allocations: 0 / 1.258 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.344, allocations: 0 / 1.258 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.344, allocations: 0.8125 kB / 1.258 GB, free: 6.07 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.002374/1.347, allocations: 1.019 MB / 1.259 GB, free: 21.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.347, allocations: 11.38 kB / 1.259 GB, free: 21.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/1.349, allocations: 280.7 kB / 1.26 GB, free: 21.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008112/1.35, allocations: 440.1 kB / 1.26 GB, free: 21.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/1.35, allocations: 35.53 kB / 1.26 GB, free: 21.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/1.35, allocations: 44.67 kB / 1.26 GB, free: 21.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.351, allocations: 0.5496 MB / 1.261 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.351, allocations: 0 / 1.261 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/1.351, allocations: 24.88 kB / 1.261 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/1.351, allocations: 11.53 kB / 1.261 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/1.352, allocations: 460.1 kB / 1.261 GB, free: 21.02 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.002713/1.355, allocations: 2.134 MB / 1.263 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000947/1.356, allocations: 408.2 kB / 1.264 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/1.356, allocations: 230.1 kB / 1.264 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006984/1.357, allocations: 400.3 kB / 1.264 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006404/1.358, allocations: 290.4 kB / 1.265 GB, free: 19.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.605e-06/1.358, allocations: 0 / 1.265 GB, free: 19.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001904/1.36, allocations: 0.6891 MB / 1.265 GB, free: 19.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/1.36, allocations: 58.44 kB / 1.265 GB, free: 19.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/1.361, allocations: 496.8 kB / 1.266 GB, free: 19.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/1.361, allocations: 34.33 kB / 1.266 GB, free: 19.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/1.361, allocations: 264.5 kB / 1.266 GB, free: 18.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.361, allocations: 120 kB / 1.266 GB, free: 18.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.361, allocations: 94.16 kB / 1.266 GB, free: 18.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001942/1.361, allocations: 372 kB / 1.267 GB, free: 18.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/1.362, allocations: 193.7 kB / 1.267 GB, free: 18.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/1.362, allocations: 321.6 kB / 1.267 GB, free: 18.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/1.364, allocations: 0.5413 MB / 1.268 GB, free: 18.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.364, allocations: 5.125 kB / 1.268 GB, free: 18.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001373/1.365, allocations: 0.649 MB / 1.268 GB, free: 18.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/1.365, allocations: 63.25 kB / 1.268 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.365, allocations: 3.094 kB / 1.268 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.365, allocations: 6.531 kB / 1.268 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/1.366, allocations: 97.08 kB / 1.268 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/1.366, allocations: 7.609 kB / 1.268 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/1.366, allocations: 81.06 kB / 1.268 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/1.366, allocations: 26.11 kB / 1.268 GB, free: 17.98 MB / 1.014 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.000364/1.367, allocations: 202.1 kB / 1.269 GB, free: 17.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/1.367, allocations: 51.47 kB / 1.269 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/1.368, allocations: 0.5321 MB / 1.269 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/1.368, allocations: 6.094 kB / 1.269 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.368, allocations: 0.5156 kB / 1.269 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.368, allocations: 2.953 kB / 1.269 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/1.372, allocations: 1.35 MB / 1.271 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.372, allocations: 8.938 kB / 1.271 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/1.372, allocations: 74.3 kB / 1.271 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/1.372, allocations: 6.984 kB / 1.271 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/1.372, allocations: 11.59 kB / 1.271 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/1.372, allocations: 8.766 kB / 1.271 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.372, allocations: 4.125 kB / 1.271 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/1.374, allocations: 0.944 MB / 1.272 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/1.375, allocations: 173.4 kB / 1.272 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/1.375, allocations: 11.52 kB / 1.272 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/1.375, allocations: 39.11 kB / 1.272 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.375, allocations: 50.91 kB / 1.272 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/1.376, allocations: 17.09 kB / 1.272 GB, free: 16.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006895/1.376, allocations: 347.1 kB / 1.272 GB, free: 16.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.376, allocations: 0 / 1.272 GB, free: 16.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001297/1.378, allocations: 149.5 kB / 1.272 GB, free: 16.84 MB / 1.014 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.0007005/1.378, allocations: 204 kB / 1.273 GB, free: 16.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.38, allocations: 0.5955 MB / 1.273 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.38, allocations: 1.938 kB / 1.273 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009014/1.381, allocations: 289.6 kB / 1.273 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.383, allocations: 290.1 kB / 1.274 GB, free: 16.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/1.386, allocations: 1.049 MB / 1.275 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/1.387, allocations: 0.8659 MB / 1.276 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009206/1.388, allocations: 127.8 kB / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/1.388, allocations: 46.5 kB / 1.276 GB, free: 15.37 MB / 1.014 GB Notification: Performance of SimCode: time 1.833e-06/1.388, allocations: 1.156 kB / 1.276 GB, free: 15.37 MB / 1.014 GB Notification: Performance of Templates: time 0.02873/1.417, allocations: 10.78 MB / 1.286 GB, free: 14.84 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches