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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001701/0.001701, allocations: 197.9 kB / 16.14 MB, free: 6.719 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 / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.33 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.373, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2241/0.5972, allocations: 179.5 MB / 1.227 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009543/0.6068, allocations: 4.488 MB / 1.232 GB, free: 128 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.6079, allocations: 19.88 kB / 1.232 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.6092, allocations: 190.8 kB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.6124, allocations: 0.7078 MB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005655/0.6181, allocations: 1.408 MB / 1.234 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002783/0.6209, allocations: 1.687 MB / 1.236 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.622, allocations: 382.2 kB / 1.236 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.6236, allocations: 0.5252 MB / 1.237 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.6247, allocations: 422.2 kB / 1.237 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.6249, allocations: 28 kB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/0.6298, allocations: 1.812 MB / 1.239 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.6303, allocations: 179.4 kB / 1.239 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006939/0.631, allocations: 282.5 kB / 1.239 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.6346, allocations: 1.394 MB / 1.241 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6346, allocations: 4 kB / 1.241 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.727e-06/0.6346, allocations: 4 kB / 1.241 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.212e-05/0.6347, allocations: 0 / 1.241 GB, free: 7.09 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.00231/0.637, allocations: 1.01 MB / 1.242 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.637, allocations: 12.03 kB / 1.242 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.6394, allocations: 282.9 kB / 1.242 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009496/0.6404, allocations: 449.3 kB / 1.242 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.6404, allocations: 33 kB / 1.242 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.6405, allocations: 44 kB / 1.242 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.6417, allocations: 0.5468 MB / 1.243 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.6417, allocations: 0 / 1.243 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.6418, allocations: 23.92 kB / 1.243 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.6418, allocations: 15.94 kB / 1.243 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.643, allocations: 455.6 kB / 1.243 GB, free: 4.109 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.002984/0.6459, allocations: 2.12 MB / 1.245 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.647, allocations: 402.5 kB / 1.246 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.6475, allocations: 237.8 kB / 1.246 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007182/0.6482, allocations: 392.3 kB / 1.246 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006552/0.6489, allocations: 298.7 kB / 1.247 GB, free: 468 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.896e-06/0.6489, allocations: 3.938 kB / 1.247 GB, free: 464 kB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.6092/1.258, allocations: 0.6764 MB / 1.247 GB, free: 197 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/1.258, allocations: 61.02 kB / 1.247 GB, free: 197 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/1.259, allocations: 491.7 kB / 1.248 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/1.259, allocations: 36.16 kB / 1.248 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/1.259, allocations: 265.3 kB / 1.248 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/1.259, allocations: 120.7 kB / 1.248 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/1.26, allocations: 93.16 kB / 1.248 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.26, allocations: 364.6 kB / 1.249 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/1.26, allocations: 197.5 kB / 1.249 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/1.261, allocations: 320.6 kB / 1.249 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.262, allocations: 0.539 MB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.262, allocations: 1 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001407/1.263, allocations: 0.6483 MB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/1.263, allocations: 61.98 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.263, allocations: 6.906 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.263, allocations: 5.969 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/1.264, allocations: 94.41 kB / 1.251 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.264, allocations: 5.594 kB / 1.251 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/1.265, allocations: 86.94 kB / 1.251 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/1.265, allocations: 27.34 kB / 1.251 GB, free: 195.8 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.0002403/1.265, allocations: 191.4 kB / 1.251 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/1.265, allocations: 54.12 kB / 1.251 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/1.266, allocations: 0.5404 MB / 1.251 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.266, allocations: 3.469 kB / 1.251 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.266, allocations: 0.6875 kB / 1.251 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.266, allocations: 3.984 kB / 1.251 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.268, allocations: 1.344 MB / 1.253 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.268, allocations: 4.344 kB / 1.253 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/1.269, allocations: 75.98 kB / 1.253 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/1.269, allocations: 9.781 kB / 1.253 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.269, allocations: 12.8 kB / 1.253 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.269, allocations: 7.531 kB / 1.253 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.269, allocations: 10.47 kB / 1.253 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/1.27, allocations: 0.9319 MB / 1.254 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/1.271, allocations: 180.7 kB / 1.254 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/1.271, allocations: 12.66 kB / 1.254 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/1.271, allocations: 40.97 kB / 1.254 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.271, allocations: 57.47 kB / 1.254 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/1.271, allocations: 14.94 kB / 1.254 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003687/1.272, allocations: 345.3 kB / 1.254 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.272, allocations: 2.25 kB / 1.254 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005973/1.272, allocations: 154.1 kB / 1.255 GB, free: 194.7 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.0004883/1.273, allocations: 193.5 kB / 1.255 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001178/1.274, allocations: 0.5797 MB / 1.255 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.274, allocations: 3.375 kB / 1.255 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006905/1.275, allocations: 285 kB / 1.256 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/1.276, allocations: 277.8 kB / 1.256 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/1.278, allocations: 1.213 MB / 1.257 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/1.278, allocations: 0.8629 MB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005456/1.279, allocations: 128.6 kB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.279, allocations: 46.25 kB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.279, allocations: 4 kB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of Templates: time 0.02351/1.303, allocations: 10.19 MB / 1.268 GB, free: 191.9 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/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