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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01018/0.01018, allocations: 109.3 kB / 16.41 MB, free: 6.453 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.002196/0.002197, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.655/2.655, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.697/4.697, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 75.88 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2894/1.463, allocations: 169.4 MB / 1.374 GB, free: 3.469 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01615/1.479, allocations: 7.122 MB / 1.381 GB, free: 12.32 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/1.48, allocations: 15.88 kB / 1.381 GB, free: 12.31 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009951/1.481, allocations: 182.7 kB / 1.381 GB, free: 12.13 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006137/1.487, allocations: 1.256 MB / 1.382 GB, free: 10.87 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/1.49, allocations: 0.6267 MB / 1.383 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001905/1.492, allocations: 0.7602 MB / 1.384 GB, free: 9.48 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009393/1.493, allocations: 294.7 kB / 1.384 GB, free: 9.191 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/1.496, allocations: 0.5759 MB / 1.384 GB, free: 8.613 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/1.498, allocations: 424.4 kB / 1.385 GB, free: 8.199 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/1.498, allocations: 24 kB / 1.385 GB, free: 8.176 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/1.503, allocations: 1.239 MB / 1.386 GB, free: 6.934 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004142/1.503, allocations: 123.7 kB / 1.386 GB, free: 6.812 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006461/1.504, allocations: 179.1 kB / 1.386 GB, free: 6.637 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004306/1.508, allocations: 0.9038 MB / 1.387 GB, free: 5.73 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.508, allocations: 0 / 1.387 GB, free: 5.73 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.096e-06/1.508, allocations: 3.938 kB / 1.387 GB, free: 5.727 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.637e-05/1.508, allocations: 0 / 1.387 GB, free: 5.727 MB / 1.107 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.00245/1.511, allocations: 0.6973 MB / 1.388 GB, free: 4.98 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/1.511, allocations: 8.031 kB / 1.388 GB, free: 4.973 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/1.515, allocations: 127.4 kB / 1.388 GB, free: 4.848 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/1.516, allocations: 349 kB / 1.388 GB, free: 4.469 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.516, allocations: 50.27 kB / 1.388 GB, free: 4.41 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.516, allocations: 24 kB / 1.389 GB, free: 4.387 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.517, allocations: 366.2 kB / 1.389 GB, free: 4.012 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/1.517, allocations: 3.984 kB / 1.389 GB, free: 4.008 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/1.517, allocations: 12 kB / 1.389 GB, free: 3.996 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/1.517, allocations: 8 kB / 1.389 GB, free: 3.988 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/1.518, allocations: 277.9 kB / 1.389 GB, free: 3.719 MB / 1.107 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.00321/1.522, allocations: 1.484 MB / 1.391 GB, free: 2.102 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/1.522, allocations: 198.5 kB / 1.391 GB, free: 1.898 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/1.523, allocations: 116.8 kB / 1.391 GB, free: 1.781 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/1.524, allocations: 0.5092 MB / 1.391 GB, free: 1.18 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/1.524, allocations: 38.56 kB / 1.391 GB, free: 1.133 MB / 1.107 GB Notification: Performance of pre-optimization done (n=15): time 3.797e-06/1.524, allocations: 0 / 1.391 GB, free: 1.133 MB / 1.107 GB Notification: Performance of matching and sorting (n=15): time 0.001654/1.526, allocations: 354.4 kB / 1.392 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.526, allocations: 51.41 kB / 1.392 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/1.527, allocations: 324.5 kB / 1.392 GB, free: 408 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/1.527, allocations: 25.7 kB / 1.392 GB, free: 376 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/1.527, allocations: 188.1 kB / 1.392 GB, free: 184 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/1.527, allocations: 51.2 kB / 1.392 GB, free: 132 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/1.527, allocations: 45.7 kB / 1.392 GB, free: 80 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.527, allocations: 342.8 kB / 1.393 GB, free: 15.73 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/1.528, allocations: 79.94 kB / 1.393 GB, free: 15.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/1.528, allocations: 151.6 kB / 1.393 GB, free: 15.49 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/1.529, allocations: 229.8 kB / 1.393 GB, free: 15.24 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.529, allocations: 7.875 kB / 1.393 GB, free: 15.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001093/1.53, allocations: 291 kB / 1.393 GB, free: 14.95 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.53, allocations: 8.031 kB / 1.393 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.53, allocations: 4 kB / 1.393 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.53, allocations: 0 / 1.393 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/1.531, allocations: 43.91 kB / 1.394 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/1.531, allocations: 4 kB / 1.394 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/1.531, allocations: 31.67 kB / 1.394 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/1.531, allocations: 16 kB / 1.394 GB, free: 14.84 MB / 1.123 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.0002865/1.531, allocations: 149.8 kB / 1.394 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/1.532, allocations: 31.7 kB / 1.394 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.533, allocations: 316 kB / 1.394 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.533, allocations: 4 kB / 1.394 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.533, allocations: 0 / 1.394 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/1.533, allocations: 128.7 kB / 1.394 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/1.533, allocations: 0 / 1.394 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/1.534, allocations: 19.98 kB / 1.394 GB, free: 14.17 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/1.534, allocations: 15.91 kB / 1.394 GB, free: 14.15 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009529/1.535, allocations: 326.8 kB / 1.395 GB, free: 13.83 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001062/1.536, allocations: 426.2 kB / 1.395 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003542/1.536, allocations: 98.73 kB / 1.395 GB, free: 13.3 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00043/1.537, allocations: 227 kB / 1.395 GB, free: 13.08 MB / 1.123 GB Notification: Performance of Backend: time 1.152e-06/1.537, allocations: 0 / 1.395 GB, free: 13.08 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002582/1.539, allocations: 477.1 kB / 1.396 GB, free: 12.62 MB / 1.123 GB Notification: Performance of SimCode: time 0.002426/1.542, allocations: 1.062 MB / 1.397 GB, free: 11.51 MB / 1.123 GB Notification: Performance of Templates: time 0.02776/1.569, allocations: 9.802 MB / 1.406 GB, free: 1.781 MB / 1.123 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/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