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.005463/0.005462, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001304/0.001304, allocations: 197.3 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.297/2.297, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8749/0.8763, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1972/1.074, allocations: 169.4 MB / 1.253 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008647/1.082, allocations: 7.118 MB / 1.26 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/1.083, allocations: 15.88 kB / 1.26 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006336/1.083, allocations: 170.8 kB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003354/1.087, allocations: 1.315 MB / 1.262 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/1.089, allocations: 0.6412 MB / 1.262 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009903/1.09, allocations: 0.7563 MB / 1.263 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/1.09, allocations: 299.2 kB / 1.263 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/1.091, allocations: 0.5799 MB / 1.264 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008823/1.092, allocations: 426.5 kB / 1.264 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/1.092, allocations: 28 kB / 1.264 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/1.094, allocations: 1.251 MB / 1.266 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/1.095, allocations: 115.7 kB / 1.266 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/1.095, allocations: 179.1 kB / 1.266 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/1.096, allocations: 0.908 MB / 1.267 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.096, allocations: 4 kB / 1.267 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.096, allocations: 0 / 1.267 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.096, allocations: 0 / 1.267 GB, free: 6.438 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.000979/1.097, allocations: 0.7081 MB / 1.268 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/1.097, allocations: 8.031 kB / 1.268 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.098, allocations: 127.6 kB / 1.268 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/1.099, allocations: 353.2 kB / 1.268 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/1.099, allocations: 46.27 kB / 1.268 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/1.099, allocations: 31.98 kB / 1.268 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/1.1, allocations: 370.1 kB / 1.268 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.1, allocations: 3.984 kB / 1.268 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/1.1, allocations: 12 kB / 1.268 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.1, allocations: 4 kB / 1.268 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/1.1, allocations: 281.9 kB / 1.269 GB, free: 4.402 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.001816/1.102, allocations: 1.484 MB / 1.27 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/1.102, allocations: 198.5 kB / 1.27 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/1.103, allocations: 116.8 kB / 1.27 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009309/1.104, allocations: 0.5014 MB / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.104, allocations: 42.56 kB / 1.271 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/1.104, allocations: 3.938 kB / 1.271 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009376/1.105, allocations: 349.2 kB / 1.271 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.105, allocations: 55.41 kB / 1.271 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/1.105, allocations: 320.5 kB / 1.272 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/1.105, allocations: 33.7 kB / 1.272 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/1.105, allocations: 184.2 kB / 1.272 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/1.105, allocations: 63.45 kB / 1.272 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/1.105, allocations: 45.7 kB / 1.272 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.105, allocations: 334.8 kB / 1.272 GB, free: 428 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.106, allocations: 87.92 kB / 1.272 GB, free: 340 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/1.106, allocations: 141.9 kB / 1.273 GB, free: 176 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/1.106, allocations: 241.8 kB / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.106, allocations: 0 / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005719/1.107, allocations: 285.2 kB / 1.273 GB, free: 15.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.107, allocations: 12.19 kB / 1.273 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/1.107, allocations: 0 / 1.273 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.107, allocations: 4 kB / 1.273 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/1.107, allocations: 47.91 kB / 1.273 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.107, allocations: 3.984 kB / 1.273 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/1.107, allocations: 31.83 kB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/1.107, allocations: 8 kB / 1.273 GB, free: 15.52 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.0001522/1.108, allocations: 149.8 kB / 1.273 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.108, allocations: 39.75 kB / 1.273 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006868/1.108, allocations: 314.9 kB / 1.274 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.108, allocations: 4.047 kB / 1.274 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.108, allocations: 3.984 kB / 1.274 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.108, allocations: 3.984 kB / 1.274 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/1.11, allocations: 0.8044 MB / 1.274 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.11, allocations: 4 kB / 1.274 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/1.11, allocations: 40.19 kB / 1.274 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/1.11, allocations: 4 kB / 1.274 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/1.11, allocations: 11.94 kB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/1.11, allocations: 7.938 kB / 1.275 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.11, allocations: 0 / 1.275 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/1.111, allocations: 405.1 kB / 1.275 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.111, allocations: 128.9 kB / 1.275 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/1.111, allocations: 11.94 kB / 1.275 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/1.111, allocations: 15.98 kB / 1.275 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/1.111, allocations: 15.98 kB / 1.275 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/1.111, allocations: 11.98 kB / 1.275 GB, free: 13.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001998/1.111, allocations: 227 kB / 1.275 GB, free: 13.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.111, allocations: 0 / 1.275 GB, free: 13.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004902/1.112, allocations: 123.7 kB / 1.275 GB, free: 13.08 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.0005305/1.112, allocations: 239.2 kB / 1.276 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004915/1.113, allocations: 215.7 kB / 1.276 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.113, allocations: 0 / 1.276 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/1.113, allocations: 116.6 kB / 1.276 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/1.114, allocations: 179.4 kB / 1.276 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/1.115, allocations: 0.6003 MB / 1.277 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.115, allocations: 0.7834 MB / 1.277 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002495/1.116, allocations: 82.94 kB / 1.278 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/1.116, allocations: 27.42 kB / 1.278 GB, free: 10.78 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/1.116, allocations: 4 kB / 1.278 GB, free: 10.78 MB / 1.014 GB Notification: Performance of Templates: time 0.012/1.128, allocations: 7.314 MB / 1.285 GB, free: 3.547 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