Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001224/0.001224, allocations: 110.1 kB / 16.41 MB, free: 6.477 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.00126/0.00126, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.365/1.365, 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 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.89 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.849, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2461/1.095, allocations: 169.5 MB / 1.254 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009681/1.105, allocations: 7.119 MB / 1.261 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000496/1.105, allocations: 11.94 kB / 1.261 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005973/1.106, allocations: 182.7 kB / 1.261 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003283/1.109, allocations: 1.307 MB / 1.263 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/1.111, allocations: 0.6333 MB / 1.263 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001016/1.112, allocations: 0.7641 MB / 1.264 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004652/1.113, allocations: 295.2 kB / 1.264 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/1.114, allocations: 0.5838 MB / 1.265 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008754/1.115, allocations: 424.4 kB / 1.265 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/1.115, allocations: 31.98 kB / 1.265 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/1.117, allocations: 1.247 MB / 1.266 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/1.117, allocations: 119.7 kB / 1.266 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/1.117, allocations: 171.2 kB / 1.267 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/1.119, allocations: 0.9155 MB / 1.268 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.119, allocations: 0 / 1.268 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.119, allocations: 0 / 1.268 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.777e-06/1.119, allocations: 0 / 1.268 GB, free: 6.43 MB / 0.9981 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.0009897/1.12, allocations: 0.6896 MB / 1.268 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.12, allocations: 15.97 kB / 1.268 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009604/1.121, allocations: 123.4 kB / 1.268 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/1.121, allocations: 353 kB / 1.269 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/1.121, allocations: 46.27 kB / 1.269 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/1.122, allocations: 28 kB / 1.269 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/1.122, allocations: 374.1 kB / 1.269 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.122, allocations: 0 / 1.269 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/1.122, allocations: 12 kB / 1.269 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.122, allocations: 7.984 kB / 1.269 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/1.123, allocations: 278 kB / 1.269 GB, free: 4.41 MB / 0.9981 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.001811/1.125, allocations: 1.48 MB / 1.271 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/1.125, allocations: 194.6 kB / 1.271 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/1.125, allocations: 112.8 kB / 1.271 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009503/1.126, allocations: 0.5053 MB / 1.272 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/1.126, allocations: 38.56 kB / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 3.486e-06/1.126, allocations: 0 / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009775/1.127, allocations: 363.9 kB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.127, allocations: 51.41 kB / 1.272 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/1.128, allocations: 316.5 kB / 1.272 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/1.128, allocations: 29.7 kB / 1.272 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/1.128, allocations: 192 kB / 1.273 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/1.128, allocations: 47.27 kB / 1.273 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/1.128, allocations: 45.7 kB / 1.273 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.128, allocations: 338.8 kB / 1.273 GB, free: 456 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/1.128, allocations: 83.94 kB / 1.273 GB, free: 372 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/1.129, allocations: 153.8 kB / 1.273 GB, free: 196 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/1.129, allocations: 237.8 kB / 1.273 GB, free: 15.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.129, allocations: 0 / 1.273 GB, free: 15.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005731/1.13, allocations: 285.2 kB / 1.274 GB, free: 15.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.13, allocations: 11.97 kB / 1.274 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.13, allocations: 4 kB / 1.274 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.13, allocations: 7.922 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.13, allocations: 39.98 kB / 1.274 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.13, allocations: 4 kB / 1.274 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/1.13, allocations: 23.77 kB / 1.274 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/1.13, allocations: 16 kB / 1.274 GB, free: 15.54 MB / 1.014 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.0001567/1.13, allocations: 157.7 kB / 1.274 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.13, allocations: 31.62 kB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/1.131, allocations: 316.1 kB / 1.274 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.131, allocations: 4 kB / 1.274 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.131, allocations: 0 / 1.274 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.131, allocations: 0 / 1.274 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/1.132, allocations: 0.8043 MB / 1.275 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.132, allocations: 4.219 kB / 1.275 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/1.133, allocations: 43.95 kB / 1.275 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/1.133, allocations: 3.984 kB / 1.275 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/1.133, allocations: 11.94 kB / 1.275 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.133, allocations: 4 kB / 1.275 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.133, allocations: 3.938 kB / 1.275 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/1.133, allocations: 397 kB / 1.276 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/1.133, allocations: 136.7 kB / 1.276 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/1.133, allocations: 7.938 kB / 1.276 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/1.134, allocations: 15.98 kB / 1.276 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/1.134, allocations: 19.92 kB / 1.276 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/1.134, allocations: 8 kB / 1.276 GB, free: 13.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002223/1.134, allocations: 227 kB / 1.276 GB, free: 13.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.134, allocations: 96 / 1.276 GB, free: 13.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005475/1.135, allocations: 127.7 kB / 1.276 GB, free: 13.11 MB / 1.014 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.0005991/1.135, allocations: 242.2 kB / 1.276 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004964/1.136, allocations: 215.7 kB / 1.277 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.136, allocations: 0 / 1.277 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/1.136, allocations: 120.6 kB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008597/1.137, allocations: 169.8 kB / 1.277 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.138, allocations: 0.6266 MB / 1.277 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/1.138, allocations: 0.7834 MB / 1.278 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/1.138, allocations: 31.44 kB / 1.278 GB, free: 10.86 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/1.138, allocations: 0 / 1.278 GB, free: 10.86 MB / 1.014 GB Notification: Performance of Templates: time 0.009968/1.148, allocations: 6.259 MB / 1.284 GB, free: 4.641 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches