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.006515/0.006515, allocations: 101 kB / 15.73 MB, free: 6.043 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.00136/0.00136, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.862/2.862, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 63.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3551, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9639/1.319, allocations: 169.4 MB / 1.373 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008474/1.328, allocations: 7.132 MB / 1.38 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005699/1.328, allocations: 12.78 kB / 1.38 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/1.329, allocations: 172.8 kB / 1.38 GB, free: 10.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003326/1.332, allocations: 1.264 MB / 1.382 GB, free: 9.363 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/1.334, allocations: 0.6255 MB / 1.382 GB, free: 8.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009947/1.335, allocations: 0.7587 MB / 1.383 GB, free: 8.477 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/1.335, allocations: 302.2 kB / 1.383 GB, free: 8.297 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/1.337, allocations: 0.5733 MB / 1.384 GB, free: 7.941 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/1.338, allocations: 425.8 kB / 1.384 GB, free: 7.699 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/1.338, allocations: 25.78 kB / 1.384 GB, free: 7.699 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/1.34, allocations: 1.249 MB / 1.385 GB, free: 6.996 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/1.34, allocations: 111 kB / 1.386 GB, free: 6.922 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/1.341, allocations: 180.1 kB / 1.386 GB, free: 6.809 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/1.342, allocations: 0.9084 MB / 1.387 GB, free: 6.254 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.342, allocations: 4 kB / 1.387 GB, free: 6.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.645e-06/1.342, allocations: 1.25 kB / 1.387 GB, free: 6.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.342, allocations: 0 / 1.387 GB, free: 6.25 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.001098/1.343, allocations: 0.687 MB / 1.387 GB, free: 5.648 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.343, allocations: 13.91 kB / 1.387 GB, free: 5.645 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.344, allocations: 129.8 kB / 1.387 GB, free: 5.582 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/1.345, allocations: 345.2 kB / 1.388 GB, free: 5.266 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/1.345, allocations: 50.81 kB / 1.388 GB, free: 5.219 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/1.345, allocations: 26.97 kB / 1.388 GB, free: 5.211 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/1.346, allocations: 369.2 kB / 1.388 GB, free: 4.973 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.346, allocations: 1.031 kB / 1.388 GB, free: 4.973 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/1.346, allocations: 10.66 kB / 1.388 GB, free: 4.965 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/1.346, allocations: 6.781 kB / 1.388 GB, free: 4.965 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/1.347, allocations: 272 kB / 1.388 GB, free: 4.84 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.002195/1.349, allocations: 1.49 MB / 1.39 GB, free: 3.477 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/1.349, allocations: 201.7 kB / 1.39 GB, free: 3.363 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/1.35, allocations: 113.4 kB / 1.39 GB, free: 3.309 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.351, allocations: 0.5031 MB / 1.391 GB, free: 2.789 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/1.351, allocations: 36.53 kB / 1.391 GB, free: 2.746 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/1.351, allocations: 0 / 1.391 GB, free: 2.746 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.001069/1.352, allocations: 361 kB / 1.391 GB, free: 2.562 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.352, allocations: 52.28 kB / 1.391 GB, free: 2.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/1.352, allocations: 315.8 kB / 1.391 GB, free: 2.297 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/1.352, allocations: 35.95 kB / 1.391 GB, free: 2.258 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.352, allocations: 181.3 kB / 1.392 GB, free: 2.094 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/1.353, allocations: 49.08 kB / 1.392 GB, free: 2.051 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/1.353, allocations: 43.8 kB / 1.392 GB, free: 2.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.353, allocations: 337.6 kB / 1.392 GB, free: 1.688 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.353, allocations: 85.36 kB / 1.392 GB, free: 1.648 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/1.353, allocations: 158.3 kB / 1.392 GB, free: 1.531 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/1.354, allocations: 230.3 kB / 1.393 GB, free: 1.383 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.354, allocations: 5.125 kB / 1.393 GB, free: 1.379 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006007/1.354, allocations: 283.4 kB / 1.393 GB, free: 1.227 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.354, allocations: 5.938 kB / 1.393 GB, free: 1.227 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.354, allocations: 11.22 kB / 1.393 GB, free: 1.219 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.354, allocations: 2.188 kB / 1.393 GB, free: 1.219 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/1.355, allocations: 47 kB / 1.393 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.355, allocations: 2.688 kB / 1.393 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/1.355, allocations: 33.86 kB / 1.393 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/1.355, allocations: 13.06 kB / 1.393 GB, free: 1.176 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.00016/1.355, allocations: 153.3 kB / 1.393 GB, free: 1.035 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.355, allocations: 25.88 kB / 1.393 GB, free: 1.023 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007333/1.356, allocations: 320.1 kB / 1.393 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/1.356, allocations: 6.703 kB / 1.393 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.356, allocations: 0 / 1.393 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.356, allocations: 0 / 1.393 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/1.357, allocations: 0.8033 MB / 1.394 GB, free: 196 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.357, allocations: 2.5 kB / 1.394 GB, free: 196 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/1.358, allocations: 34.83 kB / 1.394 GB, free: 188 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.358, allocations: 7.062 kB / 1.394 GB, free: 184 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/1.358, allocations: 12.25 kB / 1.394 GB, free: 176 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.358, allocations: 6.359 kB / 1.394 GB, free: 172 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.358, allocations: 3.25 kB / 1.394 GB, free: 172 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/1.358, allocations: 402.1 kB / 1.395 GB, free: 15.86 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/1.358, allocations: 132 kB / 1.395 GB, free: 15.73 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/1.358, allocations: 8.062 kB / 1.395 GB, free: 15.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/1.359, allocations: 16.23 kB / 1.395 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/1.359, allocations: 26.78 kB / 1.395 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/1.359, allocations: 8.25 kB / 1.395 GB, free: 15.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002193/1.359, allocations: 226.7 kB / 1.395 GB, free: 15.55 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.359, allocations: 0 / 1.395 GB, free: 15.55 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005612/1.36, allocations: 117.2 kB / 1.395 GB, free: 15.53 MB / 1.092 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.0005559/1.36, allocations: 235.2 kB / 1.395 GB, free: 15.37 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005306/1.361, allocations: 226 kB / 1.396 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.361, allocations: 0 / 1.396 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/1.361, allocations: 115.1 kB / 1.396 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/1.362, allocations: 171.1 kB / 1.396 GB, free: 15.14 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/1.363, allocations: 0.5967 MB / 1.396 GB, free: 14.71 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/1.363, allocations: 0.7879 MB / 1.397 GB, free: 13.96 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002632/1.364, allocations: 85.48 kB / 1.397 GB, free: 13.93 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/1.364, allocations: 27.72 kB / 1.397 GB, free: 13.92 MB / 1.092 GB Notification: Performance of SimCode: time 4.01e-07/1.364, allocations: 0 / 1.397 GB, free: 13.92 MB / 1.092 GB Notification: Performance of Templates: time 0.01228/1.376, allocations: 7.305 MB / 1.404 GB, free: 10.27 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches