Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001543/0.001543, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001403/0.001403, allocations: 187 kB / 17.34 MB, free: 5.762 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8813, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2097/1.091, allocations: 167.5 MB / 1.252 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008457/1.1, allocations: 6.534 MB / 1.259 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/1.1, allocations: 11.94 kB / 1.259 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000753/1.101, allocations: 170.8 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003393/1.104, allocations: 0.8362 MB / 1.26 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/1.106, allocations: 345 kB / 1.26 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001306/1.107, allocations: 0.7173 MB / 1.261 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006185/1.108, allocations: 267.3 kB / 1.261 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/1.109, allocations: 0.5642 MB / 1.261 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/1.11, allocations: 263 kB / 1.262 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.261e-05/1.11, allocations: 28 kB / 1.262 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007794/1.111, allocations: 343.2 kB / 1.262 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/1.111, allocations: 107.7 kB / 1.262 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/1.111, allocations: 159.2 kB / 1.262 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008947/1.112, allocations: 476.5 kB / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.112, allocations: 3.938 kB / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/1.112, allocations: 0 / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.671e-05/1.112, allocations: 0 / 1.263 GB, free: 11.39 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009944/1.113, allocations: 0.6255 MB / 1.263 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.113, allocations: 8.031 kB / 1.263 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/1.114, allocations: 63.59 kB / 1.263 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/1.114, allocations: 321.1 kB / 1.264 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/1.114, allocations: 20.56 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/1.114, allocations: 24 kB / 1.264 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/1.115, allocations: 327.6 kB / 1.264 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.115, allocations: 4 kB / 1.264 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/1.115, allocations: 12 kB / 1.264 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/1.115, allocations: 4 kB / 1.264 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/1.115, allocations: 201.5 kB / 1.264 GB, free: 9.684 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.00161/1.117, allocations: 1.527 MB / 1.266 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/1.117, allocations: 130.4 kB / 1.266 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/1.117, allocations: 92.8 kB / 1.266 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/1.118, allocations: 295.2 kB / 1.266 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/1.118, allocations: 42.55 kB / 1.266 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/1.118, allocations: 0 / 1.266 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007839/1.119, allocations: 261.5 kB / 1.267 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.119, allocations: 55.34 kB / 1.267 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/1.119, allocations: 316.5 kB / 1.267 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/1.119, allocations: 29.7 kB / 1.267 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.119, allocations: 180.1 kB / 1.267 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/1.119, allocations: 47.3 kB / 1.267 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/1.119, allocations: 37.7 kB / 1.267 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.119, allocations: 338.8 kB / 1.268 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.12, allocations: 59.95 kB / 1.268 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/1.12, allocations: 111.4 kB / 1.268 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/1.12, allocations: 176.9 kB / 1.268 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.12, allocations: 7.938 kB / 1.268 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004284/1.121, allocations: 213.1 kB / 1.268 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.121, allocations: 8.156 kB / 1.268 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.121, allocations: 4 kB / 1.268 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.121, allocations: 8.031 kB / 1.268 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/1.121, allocations: 35.91 kB / 1.268 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.121, allocations: 4 kB / 1.268 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/1.121, allocations: 19.84 kB / 1.268 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/1.121, allocations: 11.98 kB / 1.268 GB, free: 5.422 MB / 0.9981 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.000154/1.121, allocations: 150.2 kB / 1.268 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/1.121, allocations: 39.56 kB / 1.268 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/1.122, allocations: 208.3 kB / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.122, allocations: 0 / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.122, allocations: 4 kB / 1.269 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.122, allocations: 0 / 1.269 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/1.123, allocations: 0.6872 MB / 1.269 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.123, allocations: 4 kB / 1.269 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/1.123, allocations: 23.98 kB / 1.269 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.123, allocations: 4.219 kB / 1.269 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/1.123, allocations: 12 kB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/1.123, allocations: 7.875 kB / 1.269 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.123, allocations: 4 kB / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/1.123, allocations: 337.1 kB / 1.27 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.124, allocations: 116.7 kB / 1.27 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/1.124, allocations: 7.984 kB / 1.27 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/1.124, allocations: 11.94 kB / 1.27 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/1.124, allocations: 15.98 kB / 1.27 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/1.124, allocations: 8 kB / 1.27 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002175/1.124, allocations: 223 kB / 1.27 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.124, allocations: 0 / 1.27 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003963/1.125, allocations: 71.84 kB / 1.27 GB, free: 3.363 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.0004181/1.125, allocations: 153.5 kB / 1.27 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004084/1.125, allocations: 155.8 kB / 1.27 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.125, allocations: 4.312 kB / 1.27 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/1.126, allocations: 83.89 kB / 1.27 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/1.126, allocations: 157.3 kB / 1.271 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/1.127, allocations: 0.5661 MB / 1.271 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.128, allocations: 0.7795 MB / 1.272 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/1.128, allocations: 27.38 kB / 1.272 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/1.128, allocations: 0 / 1.272 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of Templates: time 0.007924/1.136, allocations: 4.582 MB / 1.276 GB, free: 12.83 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches