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.001756/0.001756, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.002028/0.002028, allocations: 183 kB / 17.34 MB, free: 5.766 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 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.433/2.433, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 64.14 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8558, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1892/1.045, allocations: 169.4 MB / 1.333 GB, free: 9.723 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009464/1.055, allocations: 7.132 MB / 1.34 GB, free: 2.574 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007648/1.055, allocations: 11.94 kB / 1.34 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007463/1.056, allocations: 170.7 kB / 1.34 GB, free: 2.395 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003765/1.06, allocations: 1.319 MB / 1.341 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/1.062, allocations: 0.6251 MB / 1.342 GB, free: 460 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001181/1.063, allocations: 0.768 MB / 1.343 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/1.064, allocations: 294.5 kB / 1.343 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/1.065, allocations: 0.5838 MB / 1.343 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/1.066, allocations: 428.4 kB / 1.344 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.776e-05/1.067, allocations: 28 kB / 1.344 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/1.069, allocations: 1.251 MB / 1.345 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002107/1.07, allocations: 119.7 kB / 1.345 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003119/1.07, allocations: 175.1 kB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/1.072, allocations: 0.9077 MB / 1.346 GB, free: 11.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.072, allocations: 4 kB / 1.346 GB, free: 11.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.103e-06/1.072, allocations: 0 / 1.346 GB, free: 11.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.997e-05/1.072, allocations: 0 / 1.346 GB, free: 11.9 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.001697/1.074, allocations: 0.6896 MB / 1.347 GB, free: 11.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.074, allocations: 12.92 kB / 1.347 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/1.076, allocations: 123.4 kB / 1.347 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/1.076, allocations: 349 kB / 1.347 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.076, allocations: 50.27 kB / 1.347 GB, free: 10.6 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/1.077, allocations: 24 kB / 1.347 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008561/1.077, allocations: 378 kB / 1.348 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.077, allocations: 0 / 1.348 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/1.077, allocations: 12 kB / 1.348 GB, free: 10.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/1.077, allocations: 11.98 kB / 1.348 GB, free: 10.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/1.078, allocations: 274 kB / 1.348 GB, free: 9.895 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.002497/1.081, allocations: 1.488 MB / 1.35 GB, free: 8.281 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/1.081, allocations: 192.3 kB / 1.35 GB, free: 8.086 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/1.081, allocations: 120.8 kB / 1.35 GB, free: 7.965 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/1.083, allocations: 0.5014 MB / 1.35 GB, free: 7.371 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.083, allocations: 42.55 kB / 1.35 GB, free: 7.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 2.013e-06/1.083, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.001082/1.084, allocations: 353.1 kB / 1.351 GB, free: 6.969 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.084, allocations: 51.41 kB / 1.351 GB, free: 6.906 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/1.084, allocations: 316.5 kB / 1.351 GB, free: 6.586 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/1.084, allocations: 29.7 kB / 1.351 GB, free: 6.551 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/1.084, allocations: 196.1 kB / 1.351 GB, free: 6.355 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/1.084, allocations: 47.27 kB / 1.351 GB, free: 6.309 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/1.085, allocations: 45.7 kB / 1.351 GB, free: 6.258 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.085, allocations: 338.8 kB / 1.352 GB, free: 5.918 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/1.085, allocations: 83.92 kB / 1.352 GB, free: 5.836 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/1.085, allocations: 148.2 kB / 1.352 GB, free: 5.672 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/1.086, allocations: 242.9 kB / 1.352 GB, free: 5.414 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.086, allocations: 0 / 1.352 GB, free: 5.414 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007064/1.086, allocations: 285 kB / 1.352 GB, free: 5.129 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.086, allocations: 4 kB / 1.352 GB, free: 5.125 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.086, allocations: 8.188 kB / 1.352 GB, free: 5.117 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.087, allocations: 3.938 kB / 1.352 GB, free: 5.113 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/1.087, allocations: 43.92 kB / 1.352 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.087, allocations: 7.984 kB / 1.352 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/1.087, allocations: 23.69 kB / 1.353 GB, free: 5.039 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/1.087, allocations: 19.98 kB / 1.353 GB, free: 5.02 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.000199/1.087, allocations: 149.7 kB / 1.353 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.087, allocations: 31.66 kB / 1.353 GB, free: 4.832 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007299/1.088, allocations: 319.3 kB / 1.353 GB, free: 4.516 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.088, allocations: 4 kB / 1.353 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/1.088, allocations: 0 / 1.353 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.088, allocations: 0 / 1.353 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.09, allocations: 0.8044 MB / 1.354 GB, free: 3.629 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.09, allocations: 48 / 1.354 GB, free: 3.629 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/1.09, allocations: 43.89 kB / 1.354 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.09, allocations: 4.219 kB / 1.354 GB, free: 3.582 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/1.09, allocations: 11.94 kB / 1.354 GB, free: 3.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.09, allocations: 4.094 kB / 1.354 GB, free: 3.566 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.09, allocations: 11.94 kB / 1.354 GB, free: 3.555 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/1.091, allocations: 396.9 kB / 1.354 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/1.091, allocations: 136.7 kB / 1.354 GB, free: 2.977 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/1.091, allocations: 11.94 kB / 1.354 GB, free: 2.965 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/1.091, allocations: 11.98 kB / 1.354 GB, free: 2.953 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/1.091, allocations: 23.92 kB / 1.354 GB, free: 2.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/1.091, allocations: 11.98 kB / 1.354 GB, free: 2.918 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002736/1.092, allocations: 223.1 kB / 1.355 GB, free: 2.699 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.092, allocations: 0 / 1.355 GB, free: 2.699 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006259/1.092, allocations: 119.8 kB / 1.355 GB, free: 2.582 MB / 1.076 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.0007753/1.093, allocations: 238.1 kB / 1.355 GB, free: 2.344 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005877/1.094, allocations: 211.7 kB / 1.355 GB, free: 2.137 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.094, allocations: 4 kB / 1.355 GB, free: 2.133 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/1.094, allocations: 112.5 kB / 1.355 GB, free: 2.023 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/1.095, allocations: 176.7 kB / 1.355 GB, free: 1.852 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/1.097, allocations: 0.6184 MB / 1.356 GB, free: 1.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/1.097, allocations: 0.7834 MB / 1.357 GB, free: 380 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.097, allocations: 35.42 kB / 1.357 GB, free: 348 kB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.097, allocations: 0 / 1.357 GB, free: 348 kB / 1.076 GB Notification: Performance of Templates: time 0.01217/1.109, allocations: 6.277 MB / 1.363 GB, free: 10.11 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