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.00136/0.00136, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001049/0.001049, allocations: 187 kB / 17.34 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 63.89 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8337, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1928/1.026, allocations: 169.4 MB / 1.374 GB, free: 3.613 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009203/1.036, allocations: 7.141 MB / 1.381 GB, free: 12.45 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/1.036, allocations: 11.94 kB / 1.381 GB, free: 12.44 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006616/1.037, allocations: 170.8 kB / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/1.041, allocations: 1.26 MB / 1.382 GB, free: 11 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/1.043, allocations: 0.6268 MB / 1.383 GB, free: 10.38 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001222/1.044, allocations: 0.7602 MB / 1.384 GB, free: 9.617 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006239/1.044, allocations: 298.7 kB / 1.384 GB, free: 9.324 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/1.046, allocations: 0.5682 MB / 1.384 GB, free: 8.754 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009858/1.047, allocations: 424.5 kB / 1.385 GB, free: 8.34 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 8.568e-05/1.047, allocations: 24 kB / 1.385 GB, free: 8.316 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/1.049, allocations: 1.251 MB / 1.386 GB, free: 7.062 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/1.05, allocations: 115.7 kB / 1.386 GB, free: 6.949 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/1.05, allocations: 183.1 kB / 1.386 GB, free: 6.77 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/1.052, allocations: 0.896 MB / 1.387 GB, free: 5.871 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.052, allocations: 3.984 kB / 1.387 GB, free: 5.867 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.502e-06/1.052, allocations: 0 / 1.387 GB, free: 5.867 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.688e-05/1.052, allocations: 0 / 1.387 GB, free: 5.867 MB / 1.107 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.00119/1.053, allocations: 0.6973 MB / 1.388 GB, free: 5.121 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.053, allocations: 8.031 kB / 1.388 GB, free: 5.113 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/1.054, allocations: 127.4 kB / 1.388 GB, free: 4.988 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/1.055, allocations: 349 kB / 1.388 GB, free: 4.609 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-05/1.055, allocations: 50.27 kB / 1.388 GB, free: 4.551 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/1.055, allocations: 24 kB / 1.388 GB, free: 4.527 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/1.056, allocations: 370.1 kB / 1.389 GB, free: 4.148 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.056, allocations: 4 kB / 1.389 GB, free: 4.145 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/1.056, allocations: 12 kB / 1.389 GB, free: 4.133 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/1.056, allocations: 8 kB / 1.389 GB, free: 4.125 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/1.056, allocations: 270 kB / 1.389 GB, free: 3.863 MB / 1.107 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.002002/1.058, allocations: 1.496 MB / 1.391 GB, free: 2.234 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/1.059, allocations: 194.6 kB / 1.391 GB, free: 2.035 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/1.059, allocations: 112.8 kB / 1.391 GB, free: 1.922 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000992/1.06, allocations: 0.5053 MB / 1.391 GB, free: 1.324 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/1.06, allocations: 34.56 kB / 1.391 GB, free: 1.281 MB / 1.107 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/1.06, allocations: 0 / 1.391 GB, free: 1.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=15): time 0.0009666/1.061, allocations: 363.6 kB / 1.392 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.061, allocations: 51.41 kB / 1.392 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/1.062, allocations: 316.5 kB / 1.392 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/1.062, allocations: 33.7 kB / 1.392 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/1.062, allocations: 184 kB / 1.392 GB, free: 332 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/1.062, allocations: 55.25 kB / 1.392 GB, free: 276 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/1.062, allocations: 45.7 kB / 1.392 GB, free: 224 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.062, allocations: 342.8 kB / 1.393 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/1.062, allocations: 79.94 kB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.062, allocations: 147.1 kB / 1.393 GB, free: 15.63 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/1.063, allocations: 241.1 kB / 1.393 GB, free: 15.38 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.063, allocations: 4 kB / 1.393 GB, free: 15.38 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005764/1.063, allocations: 285 kB / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.064, allocations: 4 kB / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.064, allocations: 11.97 kB / 1.393 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.064, allocations: 4 kB / 1.393 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/1.064, allocations: 39.92 kB / 1.394 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.064, allocations: 8.188 kB / 1.394 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/1.064, allocations: 31.67 kB / 1.394 GB, free: 14.99 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/1.064, allocations: 12 kB / 1.394 GB, free: 14.98 MB / 1.123 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.0001696/1.064, allocations: 157.7 kB / 1.394 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.064, allocations: 23.72 kB / 1.394 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/1.065, allocations: 324 kB / 1.394 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.065, allocations: 0 / 1.394 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.065, allocations: 0 / 1.394 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.065, allocations: 3.938 kB / 1.394 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/1.066, allocations: 0.8044 MB / 1.395 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.066, allocations: 0 / 1.395 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/1.067, allocations: 39.91 kB / 1.395 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.067, allocations: 4 kB / 1.395 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/1.067, allocations: 11.94 kB / 1.395 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.067, allocations: 0 / 1.395 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.067, allocations: 4.219 kB / 1.395 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/1.067, allocations: 400.9 kB / 1.395 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.067, allocations: 136.7 kB / 1.395 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/1.067, allocations: 11.94 kB / 1.395 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/1.068, allocations: 11.98 kB / 1.395 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/1.068, allocations: 23.95 kB / 1.395 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/1.068, allocations: 11.94 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002288/1.068, allocations: 231.1 kB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.068, allocations: 3.938 kB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005303/1.069, allocations: 123.8 kB / 1.396 GB, free: 12.54 MB / 1.123 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.0006407/1.069, allocations: 223.3 kB / 1.396 GB, free: 12.31 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005308/1.07, allocations: 223.7 kB / 1.396 GB, free: 12.09 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.07, allocations: 4 kB / 1.396 GB, free: 12.09 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/1.07, allocations: 111.8 kB / 1.396 GB, free: 11.98 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008982/1.071, allocations: 167.3 kB / 1.397 GB, free: 11.82 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.072, allocations: 0.628 MB / 1.397 GB, free: 11.14 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/1.073, allocations: 0.7834 MB / 1.398 GB, free: 10.33 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/1.073, allocations: 31.44 kB / 1.398 GB, free: 10.3 MB / 1.123 GB Notification: Performance of SimCode: time 4.2e-07/1.073, allocations: 4 kB / 1.398 GB, free: 10.3 MB / 1.123 GB Notification: Performance of Templates: time 0.009997/1.083, allocations: 6.265 MB / 1.404 GB, free: 4.082 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches