Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 103.7 kB / 16.35 MB, free: 6.289 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.001579/0.001579, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 60.94 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2744, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6455/0.9199, allocations: 169.5 MB / 1.192 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008705/0.9286, allocations: 7.134 MB / 1.199 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006023/0.9293, allocations: 16.19 kB / 1.199 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.9299, allocations: 169.9 kB / 1.199 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.9332, allocations: 1.261 MB / 1.201 GB, free: 5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.9349, allocations: 0.6322 MB / 1.201 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009935/0.9359, allocations: 0.7582 MB / 1.202 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.9364, allocations: 293.9 kB / 1.202 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.9375, allocations: 0.5764 MB / 1.203 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000769/0.9383, allocations: 416.3 kB / 1.203 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.9383, allocations: 26.19 kB / 1.203 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.9405, allocations: 1.246 MB / 1.204 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.9406, allocations: 121.3 kB / 1.205 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.9408, allocations: 177 kB / 1.205 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.9421, allocations: 0.9005 MB / 1.206 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.9421, allocations: 0 / 1.206 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9421, allocations: 0 / 1.206 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9421, allocations: 2.344 kB / 1.206 GB, free: 1.902 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000919/0.9431, allocations: 0.6904 MB / 1.206 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.9431, allocations: 9.281 kB / 1.206 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.9441, allocations: 128.8 kB / 1.206 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.9446, allocations: 346.5 kB / 1.207 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.9447, allocations: 46.02 kB / 1.207 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.9448, allocations: 31.88 kB / 1.207 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.9454, allocations: 373.8 kB / 1.207 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9454, allocations: 0 / 1.207 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.9455, allocations: 10.22 kB / 1.207 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.9455, allocations: 7.75 kB / 1.207 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.946, allocations: 271.1 kB / 1.207 GB, free: 496 kB / 0.9044 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.001782/0.9477, allocations: 1.498 MB / 1.209 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.9481, allocations: 190.1 kB / 1.209 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.9483, allocations: 120.6 kB / 1.209 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009253/0.9493, allocations: 0.5036 MB / 1.21 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.9493, allocations: 30.56 kB / 1.21 GB, free: 14.39 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 3.206e-06/0.9493, allocations: 0 / 1.21 GB, free: 14.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0009007/0.9502, allocations: 366.6 kB / 1.21 GB, free: 14.21 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.9503, allocations: 57.62 kB / 1.21 GB, free: 14.14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.9506, allocations: 311.9 kB / 1.21 GB, free: 13.93 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.9506, allocations: 32.8 kB / 1.21 GB, free: 13.89 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.9508, allocations: 183.2 kB / 1.211 GB, free: 13.73 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.9508, allocations: 50.61 kB / 1.211 GB, free: 13.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.9509, allocations: 43.45 kB / 1.211 GB, free: 13.65 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.951, allocations: 346.1 kB / 1.211 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.9512, allocations: 81.44 kB / 1.211 GB, free: 13.28 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.9514, allocations: 155.4 kB / 1.211 GB, free: 13.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.9518, allocations: 236.6 kB / 1.211 GB, free: 13.01 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9518, allocations: 3.938 kB / 1.211 GB, free: 13 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005462/0.9524, allocations: 282.4 kB / 1.212 GB, free: 12.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.9524, allocations: 9.188 kB / 1.212 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.9524, allocations: 3.031 kB / 1.212 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9525, allocations: 11.86 kB / 1.212 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.9527, allocations: 36.23 kB / 1.212 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.9527, allocations: 2.812 kB / 1.212 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.9529, allocations: 33.52 kB / 1.212 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.9529, allocations: 14.03 kB / 1.212 GB, free: 12.82 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001453/0.9531, allocations: 164.7 kB / 1.212 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.9532, allocations: 30.44 kB / 1.212 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000647/0.9539, allocations: 311.1 kB / 1.212 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.9539, allocations: 0 / 1.212 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.9539, allocations: 3 kB / 1.212 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9539, allocations: 0 / 1.212 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.9552, allocations: 0.8138 MB / 1.213 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9552, allocations: 0 / 1.213 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.9554, allocations: 39.42 kB / 1.213 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.9554, allocations: 6.672 kB / 1.213 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.9554, allocations: 12.75 kB / 1.213 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.9554, allocations: 2.031 kB / 1.213 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9554, allocations: 6.469 kB / 1.213 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.956, allocations: 394.6 kB / 1.214 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.9562, allocations: 131.1 kB / 1.214 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.9562, allocations: 12.28 kB / 1.214 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.9565, allocations: 15.83 kB / 1.214 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.9565, allocations: 19.3 kB / 1.214 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.9566, allocations: 7.812 kB / 1.214 GB, free: 11.33 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001958/0.9568, allocations: 226.1 kB / 1.214 GB, free: 11.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9568, allocations: 0 / 1.214 GB, free: 11.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00048/0.9573, allocations: 124.6 kB / 1.214 GB, free: 11.15 MB / 0.92 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 (16): * Single equations (assignments): 16 * 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.0005032/0.9578, allocations: 226.8 kB / 1.214 GB, free: 11.01 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.9583, allocations: 228.2 kB / 1.215 GB, free: 10.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9583, allocations: 7.312 kB / 1.215 GB, free: 10.9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.9585, allocations: 117.5 kB / 1.215 GB, free: 10.84 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.9593, allocations: 152.5 kB / 1.215 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.9603, allocations: 0.5983 MB / 1.215 GB, free: 10.35 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.9606, allocations: 0.7865 MB / 1.216 GB, free: 9.605 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.9609, allocations: 88.52 kB / 1.216 GB, free: 9.566 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.961, allocations: 31.53 kB / 1.216 GB, free: 9.555 MB / 0.92 GB Notification: Performance of SimCode: time 2.454e-06/0.961, allocations: 0 / 1.216 GB, free: 9.555 MB / 0.92 GB Notification: Performance of Templates: time 0.01176/0.9727, allocations: 7.292 MB / 1.223 GB, free: 3.555 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches