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.001218/0.001219, allocations: 109.5 kB / 16.41 MB, free: 6.496 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.001171/0.001171, allocations: 181.6 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.19 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.332/2.332, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.885/0.8865, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2257/1.112, allocations: 169.4 MB / 1.254 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009396/1.122, allocations: 7.124 MB / 1.261 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/1.122, allocations: 15.88 kB / 1.261 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007198/1.123, allocations: 174.7 kB / 1.261 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003667/1.127, allocations: 1.26 MB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/1.129, allocations: 0.6306 MB / 1.263 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001178/1.13, allocations: 0.7641 MB / 1.264 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/1.131, allocations: 287.2 kB / 1.264 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/1.132, allocations: 0.5837 MB / 1.265 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009826/1.133, allocations: 416.5 kB / 1.265 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/1.133, allocations: 28 kB / 1.265 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/1.135, allocations: 1.247 MB / 1.266 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/1.135, allocations: 115.7 kB / 1.266 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002669/1.136, allocations: 179.1 kB / 1.267 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/1.138, allocations: 0.8961 MB / 1.267 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.138, allocations: 0 / 1.267 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.138, allocations: 0 / 1.267 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.472e-05/1.138, allocations: 4 kB / 1.267 GB, free: 6.664 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.001329/1.139, allocations: 0.6973 MB / 1.268 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.139, allocations: 8.031 kB / 1.268 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.14, allocations: 131.4 kB / 1.268 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/1.141, allocations: 345.1 kB / 1.269 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/1.141, allocations: 46.27 kB / 1.269 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/1.141, allocations: 27.94 kB / 1.269 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/1.142, allocations: 362.2 kB / 1.269 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.142, allocations: 8 kB / 1.269 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/1.142, allocations: 15.92 kB / 1.269 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.142, allocations: 8 kB / 1.269 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/1.142, allocations: 270 kB / 1.269 GB, free: 4.652 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.001922/1.144, allocations: 1.492 MB / 1.271 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/1.145, allocations: 198.6 kB / 1.271 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/1.145, allocations: 120.7 kB / 1.271 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009553/1.146, allocations: 0.5014 MB / 1.272 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/1.146, allocations: 42.5 kB / 1.272 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/1.146, allocations: 0 / 1.272 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009601/1.147, allocations: 357 kB / 1.272 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.147, allocations: 55.41 kB / 1.272 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/1.147, allocations: 312.5 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/1.147, allocations: 29.7 kB / 1.272 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/1.147, allocations: 184 kB / 1.273 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/1.147, allocations: 51.27 kB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.148, allocations: 45.7 kB / 1.273 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.148, allocations: 342.8 kB / 1.273 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/1.148, allocations: 83.88 kB / 1.273 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/1.148, allocations: 149.9 kB / 1.273 GB, free: 428 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/1.149, allocations: 237.5 kB / 1.273 GB, free: 172 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.149, allocations: 8 kB / 1.273 GB, free: 164 kB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006197/1.149, allocations: 285 kB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.149, allocations: 8 kB / 1.274 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.149, allocations: 0 / 1.274 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.149, allocations: 4 kB / 1.274 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/1.149, allocations: 43.97 kB / 1.274 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.149, allocations: 8.125 kB / 1.274 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/1.15, allocations: 31.77 kB / 1.274 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/1.15, allocations: 8 kB / 1.274 GB, free: 15.77 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.0001652/1.15, allocations: 149.8 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.15, allocations: 31.61 kB / 1.274 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/1.151, allocations: 318.4 kB / 1.274 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/1.151, allocations: 3.938 kB / 1.274 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.151, allocations: 0 / 1.274 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.151, allocations: 0 / 1.274 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/1.152, allocations: 0.8121 MB / 1.275 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/1.152, allocations: 0 / 1.275 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/1.152, allocations: 31.98 kB / 1.275 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.152, allocations: 4 kB / 1.275 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.152, allocations: 15.92 kB / 1.275 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.152, allocations: 7.938 kB / 1.275 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.152, allocations: 224 / 1.275 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/1.153, allocations: 408.9 kB / 1.275 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.153, allocations: 128.7 kB / 1.276 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/1.153, allocations: 15.92 kB / 1.276 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/1.153, allocations: 11.98 kB / 1.276 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1.154, allocations: 15.98 kB / 1.276 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/1.154, allocations: 8.047 kB / 1.276 GB, free: 13.69 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002253/1.154, allocations: 231 kB / 1.276 GB, free: 13.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.154, allocations: 0 / 1.276 GB, free: 13.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000545/1.154, allocations: 127.8 kB / 1.276 GB, free: 13.34 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.0006277/1.155, allocations: 226 kB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005264/1.155, allocations: 227.7 kB / 1.276 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.156, allocations: 0 / 1.276 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/1.156, allocations: 119.8 kB / 1.277 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/1.157, allocations: 166.4 kB / 1.277 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/1.158, allocations: 0.6265 MB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/1.158, allocations: 0.7872 MB / 1.278 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.158, allocations: 35.44 kB / 1.278 GB, free: 11.08 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/1.158, allocations: 0 / 1.278 GB, free: 11.08 MB / 1.014 GB Notification: Performance of Templates: time 0.01044/1.169, allocations: 6.26 MB / 1.284 GB, free: 4.863 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