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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0007791/0.0007792, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008856/0.0008859, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.469/1.469, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 443.2 MB / 0.7181 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003789, allocations: 14.81 kB / 0.8801 GB, free: 42.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3238, allocations: 155.1 MB / 1.032 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1829/0.5068, allocations: 163.2 MB / 1.191 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007684/0.5145, allocations: 6.454 MB / 1.197 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005272/0.5151, allocations: 11.94 kB / 1.197 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.5156, allocations: 135.1 kB / 1.197 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.5178, allocations: 0.786 MB / 1.198 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.5188, allocations: 296.5 kB / 1.198 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.5199, allocations: 1.014 MB / 1.199 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.5204, allocations: 234.1 kB / 1.2 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.5217, allocations: 0.498 MB / 1.2 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.5221, allocations: 278.9 kB / 1.2 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.5221, allocations: 12 kB / 1.2 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007727/0.5229, allocations: 399 kB / 1.201 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.5231, allocations: 91.72 kB / 1.201 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.5232, allocations: 176.9 kB / 1.201 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.5237, allocations: 331.2 kB / 1.201 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5237, allocations: 0 / 1.201 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5237, allocations: 0 / 1.201 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5237, allocations: 0 / 1.201 GB, free: 6.242 MB / 0.9512 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.0008708/0.5246, allocations: 0.5649 MB / 1.202 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5247, allocations: 8.031 kB / 1.202 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.525, allocations: 63.44 kB / 1.202 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.5254, allocations: 309.3 kB / 1.202 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.5254, allocations: 20.56 kB / 1.202 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.5255, allocations: 31.94 kB / 1.202 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.526, allocations: 315.7 kB / 1.203 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5261, allocations: 7.938 kB / 1.203 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.5261, allocations: 8 kB / 1.203 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.5261, allocations: 8 kB / 1.203 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.5265, allocations: 217.5 kB / 1.203 GB, free: 4.598 MB / 0.9512 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.001566/0.5281, allocations: 1.542 MB / 1.204 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.5284, allocations: 126.5 kB / 1.204 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.5286, allocations: 88.81 kB / 1.205 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006322/0.5292, allocations: 319.2 kB / 1.205 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5292, allocations: 34.56 kB / 1.205 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 3.186e-06/0.5292, allocations: 0 / 1.205 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007631/0.53, allocations: 289.1 kB / 1.205 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5301, allocations: 55.41 kB / 1.205 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.5304, allocations: 312.5 kB / 1.206 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.5304, allocations: 29.7 kB / 1.206 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.5306, allocations: 188 kB / 1.206 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.5306, allocations: 47.3 kB / 1.206 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.5306, allocations: 21.66 kB / 1.206 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5308, allocations: 338.8 kB / 1.206 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.5309, allocations: 63.95 kB / 1.206 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.5311, allocations: 121 kB / 1.206 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.5315, allocations: 188.9 kB / 1.206 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5315, allocations: 0 / 1.206 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004369/0.5319, allocations: 225.2 kB / 1.207 GB, free: 356 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.532, allocations: 4.938 kB / 1.207 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.532, allocations: 3.938 kB / 1.207 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.532, allocations: 4 kB / 1.207 GB, free: 344 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.5322, allocations: 44.06 kB / 1.207 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5322, allocations: 4 kB / 1.207 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.5324, allocations: 35.73 kB / 1.207 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.5324, allocations: 4 kB / 1.207 GB, free: 256 kB / 0.9512 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.0001464/0.5326, allocations: 155.2 kB / 1.207 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.5327, allocations: 35.62 kB / 1.207 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.5331, allocations: 220.5 kB / 1.207 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.5332, allocations: 4 kB / 1.207 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5332, allocations: 0 / 1.207 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5332, allocations: 0 / 1.207 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.5342, allocations: 0.6875 MB / 1.208 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5342, allocations: 4.062 kB / 1.208 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.5343, allocations: 39.91 kB / 1.208 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5344, allocations: 4 kB / 1.208 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.5344, allocations: 7.938 kB / 1.208 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5344, allocations: 224 / 1.208 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5344, allocations: 8 kB / 1.208 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.5348, allocations: 345 kB / 1.208 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.535, allocations: 120.8 kB / 1.208 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.535, allocations: 11.94 kB / 1.208 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.5352, allocations: 19.98 kB / 1.208 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.5353, allocations: 15.98 kB / 1.208 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5353, allocations: 7.938 kB / 1.208 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000217/0.5355, allocations: 227 kB / 1.209 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5355, allocations: 0 / 1.209 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004036/0.5359, allocations: 67.84 kB / 1.209 GB, free: 14.15 MB / 0.9669 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.0004051/0.5363, allocations: 157.2 kB / 1.209 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.5368, allocations: 167.8 kB / 1.209 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5368, allocations: 0 / 1.209 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.537, allocations: 96.58 kB / 1.209 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.5379, allocations: 142.6 kB / 1.209 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009665/0.5389, allocations: 0.6863 MB / 1.21 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.5392, allocations: 0.7797 MB / 1.211 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.5393, allocations: 23.44 kB / 1.211 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.5393, allocations: 0 / 1.211 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of Templates: time 0.007494/0.5468, allocations: 4.504 MB / 1.215 GB, free: 7.57 MB / 0.9669 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches