Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001659/0.001659, allocations: 104.1 kB / 15.98 MB, free: 6.355 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.001814/0.001814, allocations: 192.6 kB / 16.91 MB, free: 6.188 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 61.83 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3305, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7274/1.058, allocations: 167.2 MB / 1.227 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009187/1.067, allocations: 7.088 MB / 1.234 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000651/1.068, allocations: 10.91 kB / 1.234 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/1.068, allocations: 141.7 kB / 1.234 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003694/1.072, allocations: 1.193 MB / 1.236 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/1.074, allocations: 0.5845 MB / 1.236 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001114/1.075, allocations: 0.7602 MB / 1.237 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/1.076, allocations: 278.7 kB / 1.237 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/1.077, allocations: 0.5682 MB / 1.238 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009256/1.078, allocations: 438.5 kB / 1.238 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/1.078, allocations: 28 kB / 1.238 GB, free: 7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/1.081, allocations: 1.309 MB / 1.239 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/1.081, allocations: 115.7 kB / 1.24 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002958/1.081, allocations: 179.1 kB / 1.24 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/1.083, allocations: 0.6237 MB / 1.24 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.083, allocations: 4 kB / 1.24 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.853e-06/1.083, allocations: 0 / 1.24 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.083, allocations: 0 / 1.24 GB, free: 4.77 MB / 0.9512 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.001293/1.084, allocations: 0.6979 MB / 1.241 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.084, allocations: 8.031 kB / 1.241 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.085, allocations: 123.5 kB / 1.241 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/1.086, allocations: 333.1 kB / 1.241 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/1.086, allocations: 46.27 kB / 1.242 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/1.086, allocations: 28 kB / 1.242 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/1.087, allocations: 370.2 kB / 1.242 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.087, allocations: 0 / 1.242 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/1.087, allocations: 12 kB / 1.242 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/1.087, allocations: 7.938 kB / 1.242 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/1.087, allocations: 278 kB / 1.242 GB, free: 2.785 MB / 0.9512 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.00224/1.09, allocations: 1.477 MB / 1.244 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/1.09, allocations: 206.4 kB / 1.244 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/1.09, allocations: 116.8 kB / 1.244 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.092, allocations: 0.5052 MB / 1.244 GB, free: 260 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.092, allocations: 34.56 kB / 1.244 GB, free: 216 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/1.092, allocations: 3.938 kB / 1.244 GB, free: 212 kB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.001017/1.093, allocations: 362.5 kB / 1.245 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.093, allocations: 55.41 kB / 1.245 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/1.093, allocations: 316.5 kB / 1.245 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/1.093, allocations: 25.7 kB / 1.245 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/1.093, allocations: 188 kB / 1.245 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/1.093, allocations: 55.2 kB / 1.245 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/1.093, allocations: 49.7 kB / 1.245 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.094, allocations: 338.8 kB / 1.246 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/1.094, allocations: 83.94 kB / 1.246 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/1.094, allocations: 147.6 kB / 1.246 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/1.094, allocations: 233.8 kB / 1.246 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.095, allocations: 7.938 kB / 1.246 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006559/1.095, allocations: 285 kB / 1.247 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.095, allocations: 8 kB / 1.247 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.095, allocations: 0 / 1.247 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.095, allocations: 4 kB / 1.247 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/1.095, allocations: 44.09 kB / 1.247 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.095, allocations: 4.625 kB / 1.247 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/1.096, allocations: 35.77 kB / 1.247 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/1.096, allocations: 15.98 kB / 1.247 GB, free: 13.9 MB / 0.9669 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.0002236/1.096, allocations: 149.8 kB / 1.247 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.096, allocations: 31.62 kB / 1.247 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/1.097, allocations: 317.6 kB / 1.247 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.097, allocations: 4 kB / 1.247 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.097, allocations: 48 / 1.247 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.097, allocations: 3.984 kB / 1.247 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/1.098, allocations: 0.8082 MB / 1.248 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.098, allocations: 5.625 kB / 1.248 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/1.099, allocations: 32.19 kB / 1.248 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/1.099, allocations: 8 kB / 1.248 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.099, allocations: 11.94 kB / 1.248 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/1.099, allocations: 7.938 kB / 1.248 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.099, allocations: 0 / 1.248 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/1.099, allocations: 404.9 kB / 1.248 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/1.1, allocations: 132.7 kB / 1.248 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/1.1, allocations: 7.938 kB / 1.248 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/1.1, allocations: 23.98 kB / 1.249 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/1.1, allocations: 15.97 kB / 1.249 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/1.1, allocations: 12 kB / 1.249 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002394/1.1, allocations: 227 kB / 1.249 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 0 / 1.249 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005612/1.101, allocations: 115.8 kB / 1.249 GB, free: 11.46 MB / 0.9669 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.0006517/1.101, allocations: 241.7 kB / 1.249 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005393/1.102, allocations: 226.5 kB / 1.249 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.102, allocations: 4 kB / 1.249 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/1.102, allocations: 120.3 kB / 1.249 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008844/1.103, allocations: 160.7 kB / 1.25 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/1.104, allocations: 0.7281 MB / 1.25 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/1.105, allocations: 0.7834 MB / 1.251 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/1.105, allocations: 31.44 kB / 1.251 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/1.105, allocations: 0 / 1.251 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of Templates: time 0.01058/1.116, allocations: 6.244 MB / 1.257 GB, free: 2.926 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches