Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006053/0.006054, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001303/0.001303, allocations: 189.9 kB / 16.67 MB, free: 5.934 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8761/0.8773, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1939/1.071, allocations: 169.4 MB / 1.332 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009594/1.081, allocations: 7.141 MB / 1.339 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/1.081, allocations: 11.94 kB / 1.339 GB, free: 2.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/1.082, allocations: 162.8 kB / 1.339 GB, free: 2.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003305/1.085, allocations: 1.315 MB / 1.341 GB, free: 1.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/1.087, allocations: 0.6364 MB / 1.341 GB, free: 468 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009362/1.088, allocations: 0.768 MB / 1.342 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/1.089, allocations: 290.5 kB / 1.342 GB, free: 15.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/1.09, allocations: 0.5915 MB / 1.343 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008585/1.091, allocations: 422.5 kB / 1.343 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.286e-05/1.091, allocations: 24 kB / 1.343 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/1.093, allocations: 1.251 MB / 1.344 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/1.093, allocations: 119.7 kB / 1.345 GB, free: 13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/1.093, allocations: 179.1 kB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/1.095, allocations: 0.9041 MB / 1.346 GB, free: 11.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.095, allocations: 0 / 1.346 GB, free: 11.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/1.095, allocations: 4 kB / 1.346 GB, free: 11.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.285e-06/1.095, allocations: 0 / 1.346 GB, free: 11.92 MB / 1.076 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.0009934/1.096, allocations: 0.712 MB / 1.346 GB, free: 11.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/1.096, allocations: 8.922 kB / 1.346 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/1.097, allocations: 127.6 kB / 1.346 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/1.097, allocations: 345.3 kB / 1.347 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/1.097, allocations: 50.25 kB / 1.347 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/1.097, allocations: 24 kB / 1.347 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/1.098, allocations: 366.2 kB / 1.347 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.098, allocations: 7.938 kB / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/1.098, allocations: 11.98 kB / 1.347 GB, free: 10.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.098, allocations: 8 kB / 1.347 GB, free: 10.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/1.099, allocations: 274 kB / 1.347 GB, free: 9.898 MB / 1.076 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.001864/1.101, allocations: 1.488 MB / 1.349 GB, free: 8.285 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/1.101, allocations: 202.5 kB / 1.349 GB, free: 8.078 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/1.101, allocations: 116.8 kB / 1.349 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009218/1.102, allocations: 0.5014 MB / 1.35 GB, free: 7.367 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.102, allocations: 34.56 kB / 1.35 GB, free: 7.324 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/1.102, allocations: 0 / 1.35 GB, free: 7.324 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0009396/1.103, allocations: 363.6 kB / 1.35 GB, free: 6.965 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.103, allocations: 63.28 kB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/1.104, allocations: 312.5 kB / 1.35 GB, free: 6.574 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/1.104, allocations: 29.7 kB / 1.35 GB, free: 6.539 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/1.104, allocations: 184.2 kB / 1.351 GB, free: 6.355 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/1.104, allocations: 59.52 kB / 1.351 GB, free: 6.297 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/1.104, allocations: 49.66 kB / 1.351 GB, free: 6.242 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.104, allocations: 338.8 kB / 1.351 GB, free: 5.902 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.104, allocations: 83.92 kB / 1.351 GB, free: 5.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/1.105, allocations: 145.9 kB / 1.351 GB, free: 5.656 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/1.105, allocations: 242.7 kB / 1.351 GB, free: 5.398 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.105, allocations: 8 kB / 1.351 GB, free: 5.391 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006888/1.106, allocations: 278.2 kB / 1.352 GB, free: 5.113 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.106, allocations: 8 kB / 1.352 GB, free: 5.105 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.106, allocations: 3.938 kB / 1.352 GB, free: 5.102 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.106, allocations: 4 kB / 1.352 GB, free: 5.098 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.106, allocations: 43.91 kB / 1.352 GB, free: 5.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/1.106, allocations: 4.188 kB / 1.352 GB, free: 5.051 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/1.106, allocations: 31.83 kB / 1.352 GB, free: 5.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/1.106, allocations: 12 kB / 1.352 GB, free: 5.008 MB / 1.076 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.0001559/1.107, allocations: 155.9 kB / 1.352 GB, free: 4.848 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.107, allocations: 27.81 kB / 1.352 GB, free: 4.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/1.107, allocations: 316.2 kB / 1.352 GB, free: 4.504 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.107, allocations: 3.984 kB / 1.352 GB, free: 4.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.107, allocations: 0 / 1.352 GB, free: 4.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.107, allocations: 4.047 kB / 1.352 GB, free: 4.496 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.109, allocations: 0.8122 MB / 1.353 GB, free: 3.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/1.109, allocations: 4 kB / 1.353 GB, free: 3.602 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/1.109, allocations: 31.92 kB / 1.353 GB, free: 3.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.109, allocations: 4 kB / 1.353 GB, free: 3.566 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/1.109, allocations: 12.03 kB / 1.353 GB, free: 3.555 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/1.109, allocations: 11.92 kB / 1.353 GB, free: 3.543 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.109, allocations: 4.219 kB / 1.353 GB, free: 3.539 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/1.11, allocations: 398.7 kB / 1.354 GB, free: 3.113 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/1.11, allocations: 132.9 kB / 1.354 GB, free: 2.965 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/1.11, allocations: 11.88 kB / 1.354 GB, free: 2.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/1.11, allocations: 15.98 kB / 1.354 GB, free: 2.938 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/1.11, allocations: 19.97 kB / 1.354 GB, free: 2.918 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/1.11, allocations: 12 kB / 1.354 GB, free: 2.906 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002851/1.111, allocations: 227 kB / 1.354 GB, free: 2.684 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.111, allocations: 3.938 kB / 1.354 GB, free: 2.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005171/1.111, allocations: 119.7 kB / 1.354 GB, free: 2.562 MB / 1.076 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.0005366/1.112, allocations: 223.3 kB / 1.354 GB, free: 2.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005171/1.112, allocations: 228.8 kB / 1.355 GB, free: 2.117 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.112, allocations: 0 / 1.355 GB, free: 2.117 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/1.112, allocations: 115.8 kB / 1.355 GB, free: 2.004 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/1.113, allocations: 172 kB / 1.355 GB, free: 1.836 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.114, allocations: 0.6081 MB / 1.355 GB, free: 1.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/1.115, allocations: 0.7834 MB / 1.356 GB, free: 380 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000258/1.115, allocations: 82.81 kB / 1.356 GB, free: 296 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/1.115, allocations: 31.44 kB / 1.356 GB, free: 268 kB / 1.076 GB Notification: Performance of SimCode: time 2.5e-07/1.115, allocations: 0 / 1.356 GB, free: 268 kB / 1.076 GB Notification: Performance of Templates: time 0.01281/1.128, allocations: 7.318 MB / 1.363 GB, free: 9.039 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches