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.001042/0.001042, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009863/0.0009865, allocations: 179 kB / 16.27 MB, free: 6.664 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 462.7 MB / 0.7364 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000603/0.0006031, allocations: 8.75 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.348, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.199/0.5471, allocations: 177.2 MB / 1.232 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006966/0.5541, allocations: 4.434 MB / 1.236 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.5548, allocations: 15.88 kB / 1.236 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.5555, allocations: 186.7 kB / 1.236 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.5576, allocations: 0.7117 MB / 1.237 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.5615, allocations: 1.404 MB / 1.238 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002101/0.5637, allocations: 1.687 MB / 1.24 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000605/0.5643, allocations: 377.7 kB / 1.24 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.5653, allocations: 0.5097 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.5658, allocations: 414.2 kB / 1.241 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.5659, allocations: 24 kB / 1.241 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.5692, allocations: 1.812 MB / 1.243 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.5694, allocations: 171.4 kB / 1.243 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.5697, allocations: 300.2 kB / 1.243 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.5718, allocations: 1.379 MB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5718, allocations: 0 / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.629e-06/0.5718, allocations: 4 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5718, allocations: 3.938 kB / 1.245 GB, free: 6.152 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.00166/0.5735, allocations: 0.9241 MB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5735, allocations: 12.03 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.5755, allocations: 286.9 kB / 1.246 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/0.5762, allocations: 449.4 kB / 1.246 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.5762, allocations: 29 kB / 1.246 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.5763, allocations: 40 kB / 1.246 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.5774, allocations: 0.5741 MB / 1.247 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.5774, allocations: 0 / 1.247 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/0.5775, allocations: 19.94 kB / 1.247 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.5775, allocations: 16 kB / 1.247 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.5786, allocations: 491.6 kB / 1.248 GB, free: 3.203 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.002677/0.5813, allocations: 2.128 MB / 1.25 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.5823, allocations: 442.4 kB / 1.25 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/0.5829, allocations: 253.9 kB / 1.25 GB, free: 256 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6913/1.274, allocations: 401.9 kB / 1.251 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008978/1.275, allocations: 306.2 kB / 1.251 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/1.275, allocations: 0.6562 kB / 1.251 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.002356/1.277, allocations: 0.7381 MB / 1.252 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/1.278, allocations: 60.95 kB / 1.252 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/1.278, allocations: 493.8 kB / 1.252 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/1.278, allocations: 36.58 kB / 1.252 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/1.279, allocations: 257.9 kB / 1.252 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.279, allocations: 125.2 kB / 1.253 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/1.279, allocations: 45.36 kB / 1.253 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.279, allocations: 364.3 kB / 1.253 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.279, allocations: 213.4 kB / 1.253 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/1.28, allocations: 336 kB / 1.254 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/1.281, allocations: 0.5708 MB / 1.254 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/1.281, allocations: 5.844 kB / 1.254 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001538/1.283, allocations: 0.6812 MB / 1.255 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/1.283, allocations: 60.81 kB / 1.255 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.283, allocations: 2.594 kB / 1.255 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/1.283, allocations: 5.75 kB / 1.255 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/1.283, allocations: 108 kB / 1.255 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.283, allocations: 8.938 kB / 1.255 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/1.284, allocations: 99.73 kB / 1.255 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/1.284, allocations: 20.59 kB / 1.255 GB, free: 11.84 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.0002428/1.284, allocations: 191.6 kB / 1.255 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/1.284, allocations: 54.41 kB / 1.255 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.286, allocations: 0.5707 MB / 1.256 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/1.286, allocations: 2.656 kB / 1.256 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.286, allocations: 1.688 kB / 1.256 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.286, allocations: 0 / 1.256 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/1.288, allocations: 1.392 MB / 1.257 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.288, allocations: 6.641 kB / 1.257 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/1.288, allocations: 92.59 kB / 1.257 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/1.289, allocations: 5.359 kB / 1.257 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/1.289, allocations: 14.58 kB / 1.257 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.525e-06/1.289, allocations: 5.5 kB / 1.257 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.289, allocations: 5.531 kB / 1.257 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/1.29, allocations: 0.9793 MB / 1.258 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/1.291, allocations: 170.5 kB / 1.258 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/1.291, allocations: 13.44 kB / 1.258 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/1.291, allocations: 51.14 kB / 1.258 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.291, allocations: 51 kB / 1.259 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/1.291, allocations: 19.52 kB / 1.259 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004843/1.292, allocations: 346.6 kB / 1.259 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.01e-07/1.292, allocations: 0 / 1.259 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006254/1.292, allocations: 148.8 kB / 1.259 GB, free: 10.66 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.000554/1.293, allocations: 193.2 kB / 1.259 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001226/1.294, allocations: 0.6132 MB / 1.26 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.294, allocations: 2.438 kB / 1.26 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006797/1.295, allocations: 304.3 kB / 1.26 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.297, allocations: 279.7 kB / 1.26 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/1.299, allocations: 1.261 MB / 1.262 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/1.299, allocations: 0.8693 MB / 1.262 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005341/1.3, allocations: 125.5 kB / 1.263 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.3, allocations: 40.36 kB / 1.263 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.3, allocations: 0 / 1.263 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of Templates: time 0.02671/1.326, allocations: 10.15 MB / 1.273 GB, free: 8.375 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