Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001029/0.001029, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007523/0.007523, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.561/1.561, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.085/3.085, allocations: 470.6 MB / 0.7442 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004166, allocations: 17.45 kB / 0.9123 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3959, allocations: 161.4 MB / 1.07 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2268/0.6227, allocations: 177.2 MB / 1.243 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007278/0.63, allocations: 4.434 MB / 1.247 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007277/0.6308, allocations: 15.88 kB / 1.247 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.6316, allocations: 194.7 kB / 1.247 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.634, allocations: 0.7078 MB / 1.248 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.6382, allocations: 1.411 MB / 1.25 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.6409, allocations: 1.679 MB / 1.251 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009467/0.6418, allocations: 377.7 kB / 1.252 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.6435, allocations: 0.5136 MB / 1.252 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7818/1.425, allocations: 411.8 kB / 1.252 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003591/1.426, allocations: 25.81 kB / 1.252 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005703/1.431, allocations: 1.804 MB / 1.254 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005055/1.432, allocations: 166.2 kB / 1.254 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.433, allocations: 309 kB / 1.255 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004582/1.438, allocations: 1.383 MB / 1.256 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.438, allocations: 0 / 1.256 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.438, allocations: 0.8125 kB / 1.256 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.501e-05/1.438, allocations: 0.9375 kB / 1.256 GB, free: 6.832 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.003363/1.441, allocations: 0.9258 MB / 1.257 GB, free: 22.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.441, allocations: 10.03 kB / 1.257 GB, free: 22.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/1.444, allocations: 286.5 kB / 1.257 GB, free: 22.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.446, allocations: 448.5 kB / 1.258 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/1.446, allocations: 30.91 kB / 1.258 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/1.446, allocations: 49.5 kB / 1.258 GB, free: 21.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/1.448, allocations: 0.5676 MB / 1.258 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/1.448, allocations: 0 / 1.258 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/1.448, allocations: 21.44 kB / 1.258 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/1.448, allocations: 10.19 kB / 1.258 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/1.449, allocations: 494.8 kB / 1.259 GB, free: 21.82 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.004159/1.454, allocations: 2.124 MB / 1.261 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/1.455, allocations: 439 kB / 1.261 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007018/1.456, allocations: 245.1 kB / 1.261 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009607/1.457, allocations: 411.6 kB / 1.262 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008434/1.457, allocations: 306.7 kB / 1.262 GB, free: 20.08 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 3.787e-06/1.457, allocations: 0 / 1.262 GB, free: 20.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.002564/1.46, allocations: 0.74 MB / 1.263 GB, free: 20 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/1.46, allocations: 62.36 kB / 1.263 GB, free: 19.94 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/1.461, allocations: 487.2 kB / 1.263 GB, free: 19.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.459e-05/1.461, allocations: 39.5 kB / 1.263 GB, free: 19.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/1.462, allocations: 259 kB / 1.264 GB, free: 19.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/1.462, allocations: 125.1 kB / 1.264 GB, free: 19.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/1.462, allocations: 46.88 kB / 1.264 GB, free: 19.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002344/1.462, allocations: 362 kB / 1.264 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/1.463, allocations: 216.3 kB / 1.264 GB, free: 19.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/1.464, allocations: 332.5 kB / 1.265 GB, free: 19.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/1.465, allocations: 0.5834 MB / 1.265 GB, free: 18.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.465, allocations: 0 / 1.265 GB, free: 18.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001898/1.467, allocations: 0.6791 MB / 1.266 GB, free: 18.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/1.467, allocations: 64.89 kB / 1.266 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.467, allocations: 2.625 kB / 1.266 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/1.467, allocations: 5.25 kB / 1.266 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/1.468, allocations: 108.7 kB / 1.266 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/1.468, allocations: 8.766 kB / 1.266 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/1.469, allocations: 91.08 kB / 1.266 GB, free: 18.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/1.469, allocations: 25.05 kB / 1.266 GB, free: 18.71 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.0003848/1.469, allocations: 193.1 kB / 1.266 GB, free: 18.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/1.469, allocations: 53.59 kB / 1.266 GB, free: 18.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/1.471, allocations: 0.5743 MB / 1.267 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.471, allocations: 6.062 kB / 1.267 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.471, allocations: 0 / 1.267 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.471, allocations: 4.688 kB / 1.267 GB, free: 18.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/1.474, allocations: 1.382 MB / 1.268 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.474, allocations: 5.047 kB / 1.268 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/1.475, allocations: 83.69 kB / 1.268 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/1.475, allocations: 6.812 kB / 1.268 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/1.475, allocations: 14.7 kB / 1.269 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/1.475, allocations: 8.828 kB / 1.269 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.475, allocations: 5.469 kB / 1.269 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/1.477, allocations: 0.9821 MB / 1.269 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/1.478, allocations: 166.6 kB / 1.27 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/1.478, allocations: 11.98 kB / 1.27 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/1.479, allocations: 62.39 kB / 1.27 GB, free: 17.63 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/1.479, allocations: 47.58 kB / 1.27 GB, free: 17.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/1.479, allocations: 14.89 kB / 1.27 GB, free: 17.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008234/1.48, allocations: 349.6 kB / 1.27 GB, free: 17.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.48, allocations: 0 / 1.27 GB, free: 17.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001106/1.481, allocations: 151.8 kB / 1.27 GB, free: 17.54 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.0006908/1.482, allocations: 210.2 kB / 1.27 GB, free: 17.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002085/1.484, allocations: 0.6078 MB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.484, allocations: 2.906 kB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/1.485, allocations: 306.4 kB / 1.271 GB, free: 17.28 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/1.488, allocations: 279.9 kB / 1.272 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/1.491, allocations: 1.251 MB / 1.273 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/1.492, allocations: 0.8673 MB / 1.274 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000953/1.493, allocations: 134.8 kB / 1.274 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/1.493, allocations: 47.78 kB / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of SimCode: time 1.302e-06/1.493, allocations: 0 / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of Templates: time 0.02307/1.516, allocations: 10.14 MB / 1.284 GB, free: 15.23 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches