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.001474/0.001474, allocations: 109.1 kB / 16.41 MB, free: 6.465 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.001586/0.001586, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.09 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.419/2.419, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7626, allocations: 151.6 MB / 1.167 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1694/0.9321, allocations: 169.4 MB / 1.333 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008738/0.9409, allocations: 7.139 MB / 1.34 GB, free: 2.711 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004479/0.9413, allocations: 11.94 kB / 1.34 GB, free: 2.699 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.9419, allocations: 166.7 kB / 1.34 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.9448, allocations: 1.323 MB / 1.341 GB, free: 1.207 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.9462, allocations: 0.6242 MB / 1.342 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.947, allocations: 0.7602 MB / 1.343 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.9474, allocations: 298.5 kB / 1.343 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009799/0.9484, allocations: 0.5799 MB / 1.343 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006889/0.9491, allocations: 432.4 kB / 1.344 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.9491, allocations: 24 kB / 1.344 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.951, allocations: 1.251 MB / 1.345 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.9511, allocations: 119.7 kB / 1.345 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.9513, allocations: 171.2 kB / 1.345 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.9525, allocations: 0.9116 MB / 1.346 GB, free: 12.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9525, allocations: 8 kB / 1.346 GB, free: 12.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9525, allocations: 0 / 1.346 GB, free: 12.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.9525, allocations: 0 / 1.346 GB, free: 12.04 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.0009733/0.9535, allocations: 0.6857 MB / 1.347 GB, free: 11.31 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.9535, allocations: 8.922 kB / 1.347 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.9546, allocations: 127.4 kB / 1.347 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.9551, allocations: 353 kB / 1.347 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.9552, allocations: 46.27 kB / 1.347 GB, free: 10.74 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.9552, allocations: 24 kB / 1.347 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.9559, allocations: 370.1 kB / 1.348 GB, free: 10.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9559, allocations: 4 kB / 1.348 GB, free: 10.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.956, allocations: 8 kB / 1.348 GB, free: 10.33 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.956, allocations: 8 kB / 1.348 GB, free: 10.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.9565, allocations: 274 kB / 1.348 GB, free: 10.05 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.001728/0.9582, allocations: 1.503 MB / 1.35 GB, free: 8.422 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.9586, allocations: 194.6 kB / 1.35 GB, free: 8.223 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.9588, allocations: 112.8 kB / 1.35 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009047/0.9597, allocations: 0.5052 MB / 1.35 GB, free: 7.512 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9598, allocations: 42.56 kB / 1.35 GB, free: 7.461 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.9598, allocations: 0 / 1.35 GB, free: 7.461 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.000918/0.9607, allocations: 353.1 kB / 1.351 GB, free: 7.109 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.9608, allocations: 55.41 kB / 1.351 GB, free: 7.043 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.9611, allocations: 316.5 kB / 1.351 GB, free: 6.723 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.9611, allocations: 33.7 kB / 1.351 GB, free: 6.684 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.9612, allocations: 180.1 kB / 1.351 GB, free: 6.504 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.9613, allocations: 51.27 kB / 1.351 GB, free: 6.453 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.9613, allocations: 41.7 kB / 1.351 GB, free: 6.406 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.9614, allocations: 338.8 kB / 1.352 GB, free: 6.066 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.9616, allocations: 83.92 kB / 1.352 GB, free: 5.984 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.9619, allocations: 149.9 kB / 1.352 GB, free: 5.816 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.9623, allocations: 234.6 kB / 1.352 GB, free: 5.566 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9623, allocations: 11.88 kB / 1.352 GB, free: 5.555 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005648/0.9629, allocations: 278.2 kB / 1.352 GB, free: 5.277 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9629, allocations: 8.188 kB / 1.352 GB, free: 5.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9629, allocations: 4 kB / 1.352 GB, free: 5.266 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9629, allocations: 4 kB / 1.352 GB, free: 5.262 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.9632, allocations: 47.91 kB / 1.352 GB, free: 5.215 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9632, allocations: 3.984 kB / 1.352 GB, free: 5.211 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.9634, allocations: 31.67 kB / 1.353 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.9634, allocations: 16 kB / 1.353 GB, free: 5.164 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.0001441/0.9636, allocations: 156.8 kB / 1.353 GB, free: 5.004 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.9637, allocations: 31.7 kB / 1.353 GB, free: 4.973 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/0.9644, allocations: 319.1 kB / 1.353 GB, free: 4.656 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.9644, allocations: 3.938 kB / 1.353 GB, free: 4.652 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9644, allocations: 0 / 1.353 GB, free: 4.652 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.9646, allocations: 128.7 kB / 1.353 GB, free: 4.508 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.9646, allocations: 4 kB / 1.353 GB, free: 4.504 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.9648, allocations: 15.98 kB / 1.353 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.9649, allocations: 15.92 kB / 1.353 GB, free: 4.473 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005476/0.9655, allocations: 316.8 kB / 1.353 GB, free: 4.156 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005644/0.966, allocations: 434.2 kB / 1.354 GB, free: 3.715 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001939/0.9662, allocations: 99.92 kB / 1.354 GB, free: 3.617 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001992/0.9665, allocations: 227 kB / 1.354 GB, free: 3.395 MB / 1.076 GB Notification: Performance of Backend: time 6.01e-07/0.9665, allocations: 0 / 1.354 GB, free: 3.395 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.9678, allocations: 468.6 kB / 1.355 GB, free: 2.938 MB / 1.076 GB Notification: Performance of SimCode: time 0.001321/0.9692, allocations: 1.067 MB / 1.356 GB, free: 1.82 MB / 1.076 GB Notification: Performance of Templates: time 0.01454/0.9837, allocations: 9.681 MB / 1.365 GB, free: 8.219 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches