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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001468/0.001468, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001952, allocations: 69.45 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3761, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1774/0.5535, allocations: 167.5 MB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00726/0.5608, allocations: 6.538 MB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.5612, allocations: 11.94 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.5617, allocations: 174.7 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.5636, allocations: 0.8401 MB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.5644, allocations: 318.7 kB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007065/0.5651, allocations: 0.7212 MB / 1.24 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.5656, allocations: 282.7 kB / 1.24 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.5666, allocations: 0.5487 MB / 1.241 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.5669, allocations: 271 kB / 1.241 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.567, allocations: 20 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.5676, allocations: 335.2 kB / 1.242 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.5677, allocations: 111.6 kB / 1.242 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.5679, allocations: 155.2 kB / 1.242 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.5685, allocations: 466.5 kB / 1.242 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5685, allocations: 4 kB / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5685, allocations: 0 / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5685, allocations: 4 kB / 1.242 GB, free: 7.469 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.0008436/0.5694, allocations: 0.6193 MB / 1.243 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5694, allocations: 8.031 kB / 1.243 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.5698, allocations: 55.59 kB / 1.243 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.5702, allocations: 317.1 kB / 1.243 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.5702, allocations: 24.56 kB / 1.243 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.5703, allocations: 24 kB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.5708, allocations: 311.7 kB / 1.244 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5708, allocations: 4 kB / 1.244 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.5709, allocations: 8 kB / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.5709, allocations: 15.94 kB / 1.244 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.5713, allocations: 201.6 kB / 1.244 GB, free: 5.789 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.001575/0.5729, allocations: 1.542 MB / 1.245 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.5732, allocations: 122.5 kB / 1.245 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.5733, allocations: 88.81 kB / 1.246 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/0.5741, allocations: 303.2 kB / 1.246 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.5741, allocations: 34.56 kB / 1.246 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.5741, allocations: 0 / 1.246 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007692/0.5749, allocations: 276.5 kB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.5749, allocations: 55.41 kB / 1.246 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.5753, allocations: 312.5 kB / 1.246 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.5753, allocations: 29.7 kB / 1.247 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.5754, allocations: 188.1 kB / 1.247 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.5755, allocations: 47.28 kB / 1.247 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.5756, allocations: 41.7 kB / 1.247 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5757, allocations: 330.8 kB / 1.247 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.5759, allocations: 59.95 kB / 1.247 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.5761, allocations: 118.9 kB / 1.247 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.5764, allocations: 184.8 kB / 1.247 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5764, allocations: 3.938 kB / 1.247 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004192/0.5769, allocations: 213.2 kB / 1.248 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5769, allocations: 4 kB / 1.248 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5769, allocations: 4 kB / 1.248 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5769, allocations: 160 / 1.248 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5771, allocations: 39.98 kB / 1.248 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5771, allocations: 3.938 kB / 1.248 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.5773, allocations: 27.73 kB / 1.248 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.5773, allocations: 4 kB / 1.248 GB, free: 1.508 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.0001394/0.5775, allocations: 157.7 kB / 1.248 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.5775, allocations: 23.72 kB / 1.248 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.578, allocations: 216.3 kB / 1.248 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.578, allocations: 7.938 kB / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.578, allocations: 4 kB / 1.248 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5781, allocations: 0 / 1.248 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5791, allocations: 0.6757 MB / 1.249 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5791, allocations: 0 / 1.249 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.5792, allocations: 35.91 kB / 1.249 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5793, allocations: 0 / 1.249 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5793, allocations: 4 kB / 1.249 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.5793, allocations: 8.156 kB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5793, allocations: 4 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6159/1.195, allocations: 330.2 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/1.195, allocations: 124.3 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/1.196, allocations: 8.656 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/1.196, allocations: 13.11 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/1.196, allocations: 10.5 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/1.196, allocations: 9.312 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002618/1.196, allocations: 224.5 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.42e-07/1.196, allocations: 0 / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005055/1.197, allocations: 71.48 kB / 1.25 GB, free: 187.2 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.0003983/1.197, allocations: 155.5 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004679/1.197, allocations: 158 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.197, allocations: 0.6875 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/1.198, allocations: 84.94 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/1.199, allocations: 150.8 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/1.2, allocations: 0.5359 MB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/1.2, allocations: 0.7822 MB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002225/1.2, allocations: 65.55 kB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/1.2, allocations: 30.73 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/1.2, allocations: 4.812 kB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.01159/1.212, allocations: 5.127 MB / 1.257 GB, free: 185.9 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