Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.005897/0.005897, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001144/0.001144, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8335, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.222/1.055, allocations: 169.4 MB / 1.253 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01108/1.067, allocations: 7.127 MB / 1.26 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/1.067, allocations: 11.94 kB / 1.26 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000703/1.068, allocations: 170.7 kB / 1.261 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003716/1.072, allocations: 1.264 MB / 1.262 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/1.074, allocations: 0.6309 MB / 1.262 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001111/1.075, allocations: 0.7601 MB / 1.263 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005478/1.075, allocations: 291.2 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/1.077, allocations: 0.576 MB / 1.264 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009394/1.078, allocations: 420.4 kB / 1.264 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/1.078, allocations: 28 kB / 1.264 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/1.08, allocations: 1.243 MB / 1.266 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/1.08, allocations: 115.7 kB / 1.266 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/1.081, allocations: 179.1 kB / 1.266 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/1.082, allocations: 0.9038 MB / 1.267 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.082, allocations: 0 / 1.267 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.082, allocations: 0 / 1.267 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.997e-05/1.082, allocations: 4 kB / 1.267 GB, free: 6.562 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001254/1.084, allocations: 0.6919 MB / 1.267 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.084, allocations: 8.031 kB / 1.267 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/1.085, allocations: 131.4 kB / 1.268 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/1.086, allocations: 345.1 kB / 1.268 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.505e-05/1.086, allocations: 50.25 kB / 1.268 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/1.086, allocations: 28 kB / 1.268 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/1.086, allocations: 370.1 kB / 1.268 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/1.086, allocations: 0 / 1.268 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/1.086, allocations: 15.94 kB / 1.268 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.087, allocations: 4 kB / 1.268 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/1.087, allocations: 278 kB / 1.269 GB, free: 4.551 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.001936/1.089, allocations: 1.488 MB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/1.089, allocations: 194.6 kB / 1.27 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/1.09, allocations: 116.8 kB / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009721/1.091, allocations: 0.5014 MB / 1.271 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/1.091, allocations: 34.56 kB / 1.271 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/1.091, allocations: 0 / 1.271 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009599/1.092, allocations: 361 kB / 1.271 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.092, allocations: 59.41 kB / 1.271 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/1.092, allocations: 316.5 kB / 1.272 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/1.092, allocations: 29.7 kB / 1.272 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.092, allocations: 184 kB / 1.272 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/1.092, allocations: 55.27 kB / 1.272 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/1.092, allocations: 45.7 kB / 1.272 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.093, allocations: 334.8 kB / 1.272 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/1.093, allocations: 87.92 kB / 1.272 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/1.093, allocations: 149.9 kB / 1.272 GB, free: 332 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/1.093, allocations: 244.2 kB / 1.273 GB, free: 68 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.093, allocations: 0 / 1.273 GB, free: 68 kB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006229/1.094, allocations: 281.1 kB / 1.273 GB, free: 15.78 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.094, allocations: 8 kB / 1.273 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/1.094, allocations: 4 kB / 1.273 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.094, allocations: 4.188 kB / 1.273 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/1.094, allocations: 47.91 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/1.094, allocations: 0 / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/1.095, allocations: 31.77 kB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/1.095, allocations: 12 kB / 1.273 GB, free: 15.68 MB / 1.014 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.0001596/1.095, allocations: 153.7 kB / 1.273 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.095, allocations: 31.62 kB / 1.273 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007089/1.096, allocations: 310.7 kB / 1.274 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.096, allocations: 11.92 kB / 1.274 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/1.096, allocations: 3.938 kB / 1.274 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.096, allocations: 0 / 1.274 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/1.097, allocations: 0.812 MB / 1.274 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.097, allocations: 4 kB / 1.274 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/1.097, allocations: 31.92 kB / 1.274 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.097, allocations: 4 kB / 1.274 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/1.097, allocations: 12.16 kB / 1.274 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/1.097, allocations: 11.98 kB / 1.274 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.097, allocations: 0 / 1.274 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/1.098, allocations: 401 kB / 1.275 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/1.098, allocations: 132.7 kB / 1.275 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/1.098, allocations: 7.938 kB / 1.275 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/1.098, allocations: 15.98 kB / 1.275 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/1.098, allocations: 27.91 kB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/1.099, allocations: 8 kB / 1.275 GB, free: 13.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002167/1.099, allocations: 227 kB / 1.275 GB, free: 13.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.099, allocations: 0 / 1.275 GB, free: 13.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005388/1.099, allocations: 119.8 kB / 1.275 GB, free: 13.24 MB / 1.014 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.00063/1.1, allocations: 233.7 kB / 1.276 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005221/1.1, allocations: 223.7 kB / 1.276 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.1, allocations: 0 / 1.276 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/1.101, allocations: 119.8 kB / 1.276 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008588/1.102, allocations: 159.8 kB / 1.276 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.103, allocations: 0.6014 MB / 1.277 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/1.103, allocations: 0.795 MB / 1.277 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002723/1.103, allocations: 78.88 kB / 1.277 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/1.103, allocations: 31.44 kB / 1.277 GB, free: 10.94 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.103, allocations: 0 / 1.277 GB, free: 10.94 MB / 1.014 GB Notification: Performance of Templates: time 0.01372/1.117, allocations: 7.315 MB / 1.285 GB, free: 3.707 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches