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.001633/0.001633, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001629/0.001629, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.705/2.705, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.684, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1826/0.8666, allocations: 167.2 MB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008618/0.8753, allocations: 7.103 MB / 1.187 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006851/0.876, allocations: 11.94 kB / 1.187 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006071/0.8767, allocations: 143.1 kB / 1.187 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.8799, allocations: 1.191 MB / 1.188 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.8816, allocations: 0.5843 MB / 1.189 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008351/0.8825, allocations: 0.7563 MB / 1.19 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.8829, allocations: 278.7 kB / 1.19 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.8841, allocations: 0.5761 MB / 1.19 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.8849, allocations: 426.6 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.885, allocations: 28 kB / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.8873, allocations: 1.313 MB / 1.192 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.8875, allocations: 119.7 kB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.8877, allocations: 179.1 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.889, allocations: 0.9661 MB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.889, allocations: 0 / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.889, allocations: 4 kB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.889, allocations: 4 kB / 1.193 GB, free: 13.23 MB / 0.9512 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.0009445/0.89, allocations: 0.6934 MB / 1.194 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.89, allocations: 8.031 kB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.8911, allocations: 131.5 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.8916, allocations: 329.1 kB / 1.194 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.334e-05/0.8917, allocations: 46.27 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.8917, allocations: 28 kB / 1.195 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.8924, allocations: 374 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.8924, allocations: 0 / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.8924, allocations: 12 kB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.8924, allocations: 8 kB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.8929, allocations: 282 kB / 1.195 GB, free: 11.24 MB / 0.9512 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.001766/0.8947, allocations: 1.488 MB / 1.197 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.8951, allocations: 192.7 kB / 1.197 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.8953, allocations: 116.8 kB / 1.197 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009703/0.8963, allocations: 0.5091 MB / 1.197 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.8964, allocations: 38.56 kB / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.8964, allocations: 0 / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0009132/0.8973, allocations: 353 kB / 1.198 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.8973, allocations: 55.41 kB / 1.198 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.8976, allocations: 316.5 kB / 1.198 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.8977, allocations: 25.7 kB / 1.198 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.8978, allocations: 192 kB / 1.198 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.8979, allocations: 43.36 kB / 1.198 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.898, allocations: 45.61 kB / 1.198 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8981, allocations: 342.8 kB / 1.199 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.8983, allocations: 83.94 kB / 1.199 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.8985, allocations: 159.4 kB / 1.199 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.8989, allocations: 245.3 kB / 1.199 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8989, allocations: 0 / 1.199 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005797/0.8995, allocations: 277.1 kB / 1.2 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8996, allocations: 8 kB / 1.2 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8996, allocations: 8.188 kB / 1.2 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8996, allocations: 4 kB / 1.2 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.8998, allocations: 39.97 kB / 1.2 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.8998, allocations: 3.938 kB / 1.2 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.9001, allocations: 43.66 kB / 1.2 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.9001, allocations: 8 kB / 1.2 GB, free: 6.355 MB / 0.9512 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.0001537/0.9003, allocations: 157.8 kB / 1.2 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.9004, allocations: 27.62 kB / 1.2 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.9011, allocations: 313.7 kB / 1.2 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9012, allocations: 0 / 1.2 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9012, allocations: 4 kB / 1.2 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9012, allocations: 0 / 1.2 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.9024, allocations: 0.8084 MB / 1.201 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9024, allocations: 7.938 kB / 1.201 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.9026, allocations: 35.97 kB / 1.201 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.9026, allocations: 4 kB / 1.201 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.9027, allocations: 7.938 kB / 1.201 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.9027, allocations: 4 kB / 1.201 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9027, allocations: 3.938 kB / 1.201 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.9033, allocations: 405 kB / 1.201 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.9034, allocations: 128.8 kB / 1.201 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.9035, allocations: 11.94 kB / 1.201 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.9037, allocations: 23.97 kB / 1.202 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.9038, allocations: 11.98 kB / 1.202 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.9038, allocations: 12 kB / 1.202 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001953/0.904, allocations: 227 kB / 1.202 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.904, allocations: 4 kB / 1.202 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004982/0.9045, allocations: 123.8 kB / 1.202 GB, free: 3.922 MB / 0.9512 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.0005457/0.9051, allocations: 242.4 kB / 1.202 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.9056, allocations: 220 kB / 1.202 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9056, allocations: 0 / 1.202 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.9059, allocations: 123.8 kB / 1.202 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009204/0.9068, allocations: 157.5 kB / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.9079, allocations: 0.7102 MB / 1.203 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.9082, allocations: 0.7834 MB / 1.204 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.9085, allocations: 86.86 kB / 1.204 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.9086, allocations: 31.44 kB / 1.204 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of SimCode: time 1.593e-06/0.9086, allocations: 0 / 1.204 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of Templates: time 0.01192/0.9205, allocations: 7.197 MB / 1.211 GB, free: 10.4 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches