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.007187/0.007187, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001359/0.001359, allocations: 199.4 kB / 16.68 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.497/2.497, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.81 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2805, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1759/0.4564, allocations: 169.4 MB / 1.253 GB, free: 7.422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007614/0.4641, allocations: 7.136 MB / 1.26 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.4644, allocations: 15.88 kB / 1.26 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.465, allocations: 170.8 kB / 1.261 GB, free: 88 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.7412/1.206, allocations: 1.297 MB / 1.262 GB, free: 3.641 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/1.208, allocations: 0.6425 MB / 1.262 GB, free: 3.633 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001411/1.21, allocations: 0.758 MB / 1.263 GB, free: 3.633 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009619/1.211, allocations: 297 kB / 1.263 GB, free: 3.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/1.212, allocations: 0.5886 MB / 1.264 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/1.214, allocations: 425.5 kB / 1.264 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/1.214, allocations: 27.47 kB / 1.264 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/1.217, allocations: 1.251 MB / 1.266 GB, free: 3.605 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/1.217, allocations: 121.4 kB / 1.266 GB, free: 3.605 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/1.217, allocations: 179.9 kB / 1.266 GB, free: 3.605 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/1.219, allocations: 0.8991 MB / 1.267 GB, free: 3.562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.219, allocations: 0 / 1.267 GB, free: 3.562 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.475e-06/1.219, allocations: 1.5 kB / 1.267 GB, free: 3.562 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.219, allocations: 0.7812 kB / 1.267 GB, free: 3.562 MB / 1.014 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.001036/1.22, allocations: 0.6962 MB / 1.268 GB, free: 3.059 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.22, allocations: 10.41 kB / 1.268 GB, free: 3.059 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.221, allocations: 121.6 kB / 1.268 GB, free: 3.043 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/1.221, allocations: 339.7 kB / 1.268 GB, free: 2.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/1.222, allocations: 51.53 kB / 1.268 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/1.222, allocations: 27.62 kB / 1.268 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/1.222, allocations: 369.4 kB / 1.268 GB, free: 2.707 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.222, allocations: 0.9688 kB / 1.268 GB, free: 2.707 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/1.222, allocations: 10.28 kB / 1.268 GB, free: 2.707 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/1.222, allocations: 8.062 kB / 1.268 GB, free: 2.707 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/1.223, allocations: 277.7 kB / 1.269 GB, free: 2.707 MB / 1.014 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.001807/1.225, allocations: 1.487 MB / 1.27 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/1.225, allocations: 198.4 kB / 1.27 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/1.225, allocations: 116.8 kB / 1.27 GB, free: 1.707 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.227, allocations: 0.503 MB / 1.271 GB, free: 17.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.227, allocations: 39.2 kB / 1.271 GB, free: 17.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/1.227, allocations: 0 / 1.271 GB, free: 17.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0009976/1.228, allocations: 360.9 kB / 1.271 GB, free: 17.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/1.228, allocations: 54.53 kB / 1.271 GB, free: 17.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/1.228, allocations: 314.1 kB / 1.272 GB, free: 16.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/1.228, allocations: 33.09 kB / 1.272 GB, free: 16.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.228, allocations: 184.7 kB / 1.272 GB, free: 16.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/1.228, allocations: 54.52 kB / 1.272 GB, free: 16.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/1.228, allocations: 44.72 kB / 1.272 GB, free: 16.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.229, allocations: 339 kB / 1.272 GB, free: 16.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/1.229, allocations: 85.58 kB / 1.272 GB, free: 16.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/1.229, allocations: 150.7 kB / 1.273 GB, free: 16.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/1.229, allocations: 234.4 kB / 1.273 GB, free: 16.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.229, allocations: 2.406 kB / 1.273 GB, free: 16.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006282/1.23, allocations: 283 kB / 1.273 GB, free: 16.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.23, allocations: 9.844 kB / 1.273 GB, free: 16.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.23, allocations: 3.734 kB / 1.273 GB, free: 16.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.23, allocations: 2.891 kB / 1.273 GB, free: 16.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/1.23, allocations: 48.81 kB / 1.273 GB, free: 16.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.23, allocations: 5.906 kB / 1.273 GB, free: 16.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/1.231, allocations: 33.95 kB / 1.273 GB, free: 16.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/1.231, allocations: 13.75 kB / 1.273 GB, free: 16.3 MB / 1.029 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.0001602/1.231, allocations: 151.5 kB / 1.273 GB, free: 16.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.231, allocations: 34.34 kB / 1.273 GB, free: 16.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008035/1.232, allocations: 310.3 kB / 1.274 GB, free: 16.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.232, allocations: 3.203 kB / 1.274 GB, free: 16.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.232, allocations: 0.625 kB / 1.274 GB, free: 16.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.232, allocations: 3.359 kB / 1.274 GB, free: 16.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/1.233, allocations: 0.8077 MB / 1.274 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.233, allocations: 3.297 kB / 1.274 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/1.234, allocations: 35.62 kB / 1.274 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.234, allocations: 7.125 kB / 1.274 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/1.234, allocations: 7.984 kB / 1.274 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/1.234, allocations: 3.547 kB / 1.274 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.234, allocations: 3.094 kB / 1.274 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/1.235, allocations: 406.9 kB / 1.275 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/1.235, allocations: 131.6 kB / 1.275 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/1.235, allocations: 5 kB / 1.275 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/1.235, allocations: 16.64 kB / 1.275 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/1.235, allocations: 20.53 kB / 1.275 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/1.235, allocations: 10.61 kB / 1.275 GB, free: 15.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003022/1.235, allocations: 227.6 kB / 1.275 GB, free: 15.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.91e-07/1.235, allocations: 1.094 kB / 1.275 GB, free: 15.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006988/1.236, allocations: 117.5 kB / 1.275 GB, free: 15.35 MB / 1.029 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.0006669/1.237, allocations: 246 kB / 1.276 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005665/1.237, allocations: 220.5 kB / 1.276 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.237, allocations: 2.031 kB / 1.276 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/1.238, allocations: 115.3 kB / 1.276 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008463/1.239, allocations: 152.4 kB / 1.276 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/1.24, allocations: 0.6052 MB / 1.277 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/1.24, allocations: 0.7839 MB / 1.277 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002742/1.24, allocations: 91.31 kB / 1.278 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.089e-05/1.24, allocations: 33.27 kB / 1.278 GB, free: 14.2 MB / 1.029 GB Notification: Performance of SimCode: time 1.433e-06/1.24, allocations: 0 / 1.278 GB, free: 14.2 MB / 1.029 GB Notification: Performance of Templates: time 0.01834/1.259, allocations: 7.313 MB / 1.285 GB, free: 13.94 MB / 1.029 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