Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.000926, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00543/0.00543, allocations: 169.1 kB / 16.26 MB, free: 6.66 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.362/1.362, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 11 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3023, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1782/0.4806, allocations: 163.2 MB / 1.218 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006991/0.4876, allocations: 6.454 MB / 1.224 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004554/0.4881, allocations: 7.938 kB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.4887, allocations: 135.1 kB / 1.224 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.4907, allocations: 0.7899 MB / 1.225 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008345/0.4916, allocations: 294.7 kB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009849/0.4926, allocations: 1.014 MB / 1.226 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.493, allocations: 234.1 kB / 1.227 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.494, allocations: 0.502 MB / 1.227 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.4944, allocations: 278.9 kB / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.4945, allocations: 12 kB / 1.227 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000659/0.4951, allocations: 395 kB / 1.228 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4953, allocations: 99.64 kB / 1.228 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.4954, allocations: 176.9 kB / 1.228 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.4959, allocations: 474.4 kB / 1.229 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.496, allocations: 8 kB / 1.229 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.963e-06/0.496, allocations: 0 / 1.229 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.496, allocations: 0 / 1.229 GB, free: 6.848 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007685/0.4967, allocations: 0.5533 MB / 1.229 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4968, allocations: 12.03 kB / 1.229 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.4971, allocations: 63.44 kB / 1.229 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.4975, allocations: 313.2 kB / 1.229 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.4975, allocations: 20.56 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.4976, allocations: 24 kB / 1.23 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.4981, allocations: 323.7 kB / 1.23 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4981, allocations: 0 / 1.23 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.4981, allocations: 15.94 kB / 1.23 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4982, allocations: 4 kB / 1.23 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.4986, allocations: 225.4 kB / 1.23 GB, free: 5.203 MB / 0.9825 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.001432/0.5, allocations: 1.538 MB / 1.232 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.5003, allocations: 118.5 kB / 1.232 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.5005, allocations: 100.8 kB / 1.232 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/0.5011, allocations: 315.2 kB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.5011, allocations: 34.56 kB / 1.232 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.5011, allocations: 0 / 1.232 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007446/0.5019, allocations: 300.7 kB / 1.232 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.5019, allocations: 51.41 kB / 1.232 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.5022, allocations: 308.5 kB / 1.233 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.5023, allocations: 29.7 kB / 1.233 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.5024, allocations: 188.1 kB / 1.233 GB, free: 2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.5024, allocations: 43.3 kB / 1.233 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.5025, allocations: 25.7 kB / 1.233 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5026, allocations: 334.8 kB / 1.233 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.5028, allocations: 63.95 kB / 1.233 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.503, allocations: 117.1 kB / 1.234 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.5033, allocations: 196.8 kB / 1.234 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5033, allocations: 0 / 1.234 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004182/0.5037, allocations: 225.2 kB / 1.234 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5038, allocations: 9.562 kB / 1.234 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5038, allocations: 0 / 1.234 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5038, allocations: 4 kB / 1.234 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.504, allocations: 31.98 kB / 1.234 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.504, allocations: 4.156 kB / 1.234 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.5042, allocations: 39.72 kB / 1.234 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.5042, allocations: 8 kB / 1.234 GB, free: 0.8633 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001352/0.5044, allocations: 155.2 kB / 1.234 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.5044, allocations: 31.62 kB / 1.234 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.5049, allocations: 224.3 kB / 1.234 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5049, allocations: 0 / 1.234 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5049, allocations: 0 / 1.234 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5049, allocations: 7.938 kB / 1.234 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/0.5059, allocations: 0.6875 MB / 1.235 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5059, allocations: 4 kB / 1.235 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.506, allocations: 31.98 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.506, allocations: 0 / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.506, allocations: 7.938 kB / 1.235 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5061, allocations: 7.938 kB / 1.235 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5061, allocations: 3.938 kB / 1.235 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.5065, allocations: 349.2 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.5066, allocations: 116.8 kB / 1.236 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.5067, allocations: 15.92 kB / 1.236 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5068, allocations: 24.05 kB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.5069, allocations: 16.02 kB / 1.236 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5069, allocations: 8 kB / 1.236 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001945/0.5071, allocations: 219.1 kB / 1.236 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5071, allocations: 0 / 1.236 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003647/0.5075, allocations: 79.83 kB / 1.236 GB, free: 14.75 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003593/0.5079, allocations: 147 kB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.5083, allocations: 167.7 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5083, allocations: 0 / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.5085, allocations: 88.62 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008965/0.5094, allocations: 150.8 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.5102, allocations: 0.6534 MB / 1.237 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.5105, allocations: 0.7836 MB / 1.238 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.5107, allocations: 58.92 kB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.5108, allocations: 23.44 kB / 1.238 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.5108, allocations: 0 / 1.238 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of Templates: time 0.009187/0.52, allocations: 4.846 MB / 1.243 GB, free: 7.848 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches