Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007076/0.007076, allocations: 100 kB / 15.73 MB, free: 6.062 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.001513/0.001513, allocations: 195.4 kB / 16.68 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.677/2.677, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 71.83 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8696, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1902/1.06, allocations: 169.9 MB / 1.387 GB, free: 7.574 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009371/1.069, allocations: 7.145 MB / 1.394 GB, free: 416 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/1.07, allocations: 11.94 kB / 1.394 GB, free: 404 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006511/1.07, allocations: 178.7 kB / 1.394 GB, free: 224 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003498/1.074, allocations: 1.311 MB / 1.395 GB, free: 14.9 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/1.076, allocations: 0.6326 MB / 1.396 GB, free: 14.27 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001161/1.077, allocations: 0.7641 MB / 1.396 GB, free: 13.5 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/1.077, allocations: 247.3 kB / 1.397 GB, free: 13.26 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/1.079, allocations: 0.5877 MB / 1.397 GB, free: 12.67 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009768/1.08, allocations: 422.5 kB / 1.398 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/1.08, allocations: 24 kB / 1.398 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/1.082, allocations: 1.251 MB / 1.399 GB, free: 10.98 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/1.083, allocations: 123.6 kB / 1.399 GB, free: 10.86 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003063/1.083, allocations: 179.1 kB / 1.399 GB, free: 10.68 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/1.085, allocations: 0.9079 MB / 1.4 GB, free: 9.773 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.085, allocations: 0 / 1.4 GB, free: 9.773 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.463e-06/1.085, allocations: 0 / 1.4 GB, free: 9.773 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.883e-05/1.085, allocations: 0 / 1.4 GB, free: 9.773 MB / 1.123 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.001462/1.087, allocations: 0.7081 MB / 1.401 GB, free: 9.016 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.087, allocations: 8.031 kB / 1.401 GB, free: 9.008 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/1.088, allocations: 131.6 kB / 1.401 GB, free: 8.879 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/1.089, allocations: 349.3 kB / 1.401 GB, free: 8.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.089, allocations: 46.27 kB / 1.401 GB, free: 8.449 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/1.089, allocations: 24 kB / 1.401 GB, free: 8.426 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/1.089, allocations: 374.1 kB / 1.402 GB, free: 8.043 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.089, allocations: 0 / 1.402 GB, free: 8.043 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/1.089, allocations: 12 kB / 1.402 GB, free: 8.031 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/1.089, allocations: 8 kB / 1.402 GB, free: 8.023 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/1.09, allocations: 274 kB / 1.402 GB, free: 7.754 MB / 1.123 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.002114/1.092, allocations: 1.501 MB / 1.403 GB, free: 6.129 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/1.093, allocations: 182.6 kB / 1.403 GB, free: 5.941 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/1.093, allocations: 112.8 kB / 1.404 GB, free: 5.828 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.094, allocations: 0.5092 MB / 1.404 GB, free: 5.227 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/1.094, allocations: 34.5 kB / 1.404 GB, free: 5.184 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/1.094, allocations: 0 / 1.404 GB, free: 5.184 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.001046/1.095, allocations: 359.9 kB / 1.404 GB, free: 4.828 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/1.095, allocations: 51.41 kB / 1.404 GB, free: 4.766 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/1.095, allocations: 320.5 kB / 1.405 GB, free: 4.445 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/1.095, allocations: 29.7 kB / 1.405 GB, free: 4.41 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.096, allocations: 188.2 kB / 1.405 GB, free: 4.223 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/1.096, allocations: 55.48 kB / 1.405 GB, free: 4.168 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/1.096, allocations: 41.7 kB / 1.405 GB, free: 4.121 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.096, allocations: 342.8 kB / 1.405 GB, free: 3.777 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/1.096, allocations: 87.88 kB / 1.406 GB, free: 3.691 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/1.096, allocations: 156.3 kB / 1.406 GB, free: 3.52 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/1.097, allocations: 233.8 kB / 1.406 GB, free: 3.27 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.097, allocations: 0 / 1.406 GB, free: 3.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006271/1.097, allocations: 290.2 kB / 1.406 GB, free: 2.98 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.097, allocations: 11.88 kB / 1.406 GB, free: 2.969 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.097, allocations: 4 kB / 1.406 GB, free: 2.965 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.097, allocations: 4 kB / 1.406 GB, free: 2.961 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.098, allocations: 35.97 kB / 1.406 GB, free: 2.926 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.098, allocations: 7.984 kB / 1.406 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/1.098, allocations: 31.83 kB / 1.406 GB, free: 2.887 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/1.098, allocations: 8 kB / 1.406 GB, free: 2.879 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.0001618/1.098, allocations: 165.8 kB / 1.406 GB, free: 2.707 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.098, allocations: 31.8 kB / 1.406 GB, free: 2.676 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/1.099, allocations: 312.1 kB / 1.407 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.099, allocations: 0 / 1.407 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.099, allocations: 0 / 1.407 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.099, allocations: 0 / 1.407 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/1.1, allocations: 0.8085 MB / 1.408 GB, free: 1.469 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.1, allocations: 4.031 kB / 1.408 GB, free: 1.465 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/1.1, allocations: 43.92 kB / 1.408 GB, free: 1.422 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.1, allocations: 4 kB / 1.408 GB, free: 1.418 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/1.1, allocations: 11.92 kB / 1.408 GB, free: 1.406 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.1, allocations: 0 / 1.408 GB, free: 1.406 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.1, allocations: 7.938 kB / 1.408 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/1.101, allocations: 397.2 kB / 1.408 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/1.101, allocations: 132.9 kB / 1.408 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/1.101, allocations: 15.92 kB / 1.408 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/1.102, allocations: 15.98 kB / 1.408 GB, free: 0.793 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/1.102, allocations: 15.92 kB / 1.408 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/1.102, allocations: 12 kB / 1.408 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002252/1.102, allocations: 227 kB / 1.408 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/1.102, allocations: 0 / 1.408 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005478/1.102, allocations: 127.6 kB / 1.409 GB, free: 432 kB / 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.0005734/1.103, allocations: 239.2 kB / 1.409 GB, free: 188 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005271/1.103, allocations: 212.5 kB / 1.409 GB, free: 15.97 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.104, allocations: 96 / 1.409 GB, free: 15.97 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/1.104, allocations: 124.1 kB / 1.409 GB, free: 15.86 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/1.105, allocations: 150.5 kB / 1.409 GB, free: 15.71 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/1.106, allocations: 0.6081 MB / 1.41 GB, free: 15.06 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/1.106, allocations: 0.7873 MB / 1.411 GB, free: 14.25 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002835/1.106, allocations: 86.86 kB / 1.411 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/1.106, allocations: 35.38 kB / 1.411 GB, free: 14.12 MB / 1.139 GB Notification: Performance of SimCode: time 5.01e-07/1.106, allocations: 0 / 1.411 GB, free: 14.12 MB / 1.139 GB Notification: Performance of Templates: time 0.01352/1.12, allocations: 7.342 MB / 1.418 GB, free: 6.875 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches