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.001028/0.001028, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001334/0.001334, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.746/2.746, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003382, allocations: 8.594 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2625, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1622/0.4248, allocations: 154 MB / 1.208 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007545/0.4324, allocations: 6.633 MB / 1.215 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003895/0.4328, allocations: 7.938 kB / 1.215 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.4333, allocations: 115.1 kB / 1.215 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.4354, allocations: 0.832 MB / 1.216 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4367, allocations: 488.3 kB / 1.216 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009341/0.4376, allocations: 0.8849 MB / 1.217 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.438, allocations: 237.2 kB / 1.217 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009666/0.439, allocations: 482.1 kB / 1.218 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.4397, allocations: 390.7 kB / 1.218 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.4398, allocations: 16 kB / 1.218 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.4412, allocations: 0.6391 MB / 1.219 GB, free: 192 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.4413, allocations: 99.69 kB / 1.219 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.4415, allocations: 89.62 kB / 1.219 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.4421, allocations: 0.522 MB / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4421, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4421, allocations: 4 kB / 1.22 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4422, allocations: 0 / 1.22 GB, free: 15.47 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008491/0.443, allocations: 0.6312 MB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.443, allocations: 8.031 kB / 1.22 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/0.444, allocations: 123.5 kB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.4445, allocations: 333.3 kB / 1.221 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.4445, allocations: 46.27 kB / 1.221 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.4446, allocations: 28 kB / 1.221 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.4452, allocations: 378.1 kB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4453, allocations: 0 / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.4453, allocations: 12 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4453, allocations: 8 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.4458, allocations: 278 kB / 1.221 GB, free: 13.54 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.001796/0.4476, allocations: 1.5 MB / 1.223 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.4481, allocations: 198.6 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.4483, allocations: 120.8 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009326/0.4492, allocations: 0.5169 MB / 1.224 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4493, allocations: 38.56 kB / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.4493, allocations: 0 / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0009384/0.4502, allocations: 379.4 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.4503, allocations: 59.34 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.4506, allocations: 308.5 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4506, allocations: 33.7 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.4508, allocations: 188 kB / 1.225 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.4508, allocations: 47.36 kB / 1.225 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.4508, allocations: 4 kB / 1.225 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.451, allocations: 338.8 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.4512, allocations: 91.92 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.4514, allocations: 151.5 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.4516, allocations: 111.8 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.4517, allocations: 0 / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005903/0.4522, allocations: 299.3 kB / 1.226 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4523, allocations: 5.875 kB / 1.226 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4523, allocations: 0 / 1.226 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4523, allocations: 4 kB / 1.226 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.4526, allocations: 47.91 kB / 1.226 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.4526, allocations: 4.188 kB / 1.226 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.4528, allocations: 43.67 kB / 1.226 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.4529, allocations: 12 kB / 1.226 GB, free: 8.777 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.453, allocations: 153.7 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4532, allocations: 35.61 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/0.4539, allocations: 316.3 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.4539, allocations: 4.031 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4539, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4539, allocations: 4 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.4553, allocations: 0.8199 MB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4553, allocations: 4 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.4555, allocations: 39.92 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.4555, allocations: 4 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.4555, allocations: 11.98 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4555, allocations: 224 / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4555, allocations: 8 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.4561, allocations: 411.4 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.4563, allocations: 128.9 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.4563, allocations: 15.86 kB / 1.228 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.4566, allocations: 27.98 kB / 1.228 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.4567, allocations: 19.88 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.4567, allocations: 15.98 kB / 1.228 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000209/0.4569, allocations: 223 kB / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4569, allocations: 4 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004961/0.4574, allocations: 119.8 kB / 1.228 GB, free: 6.297 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004672/0.4579, allocations: 212.4 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.4584, allocations: 224 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4584, allocations: 3.938 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.4587, allocations: 115.9 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/0.4596, allocations: 163.5 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4606, allocations: 0.6976 MB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.461, allocations: 0.7836 MB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003015/0.4613, allocations: 78.88 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.4614, allocations: 23.44 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of SimCode: time 1.623e-06/0.4614, allocations: 4 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.01221/0.4736, allocations: 6.78 MB / 1.237 GB, free: 13.24 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches