Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.096/2.096, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 177.3 kB / 490.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.3 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 88.67 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.135e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.68/3.955, allocations: 1.869 GB / 3.081 GB, free: 0.793 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/3.955, allocations: 91.94 kB / 3.081 GB, free: 0.7031 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.181/5.137, allocations: 306.2 MB / 3.38 GB, free: 157.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.575e-05/5.137, allocations: 8 kB / 3.38 GB, free: 157.8 MB / 1.151 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.00181/5.139, allocations: 0.717 MB / 3.38 GB, free: 157 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/5.139, allocations: 12.03 kB / 3.38 GB, free: 157 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/5.14, allocations: 139.3 kB / 3.38 GB, free: 156.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/5.141, allocations: 338 kB / 3.381 GB, free: 156.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/5.141, allocations: 46.34 kB / 3.381 GB, free: 156.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/5.141, allocations: 16 kB / 3.381 GB, free: 156.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004332/5.141, allocations: 213.3 kB / 3.381 GB, free: 156.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/5.142, allocations: 294 kB / 3.381 GB, free: 155.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/5.142, allocations: 8 kB / 3.381 GB, free: 155.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/5.142, allocations: 0 / 3.381 GB, free: 155.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/5.142, allocations: 7.984 kB / 3.381 GB, free: 155.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/5.143, allocations: 1.419 MB / 3.383 GB, free: 154.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/5.144, allocations: 178.5 kB / 3.383 GB, free: 154.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/5.144, allocations: 96.81 kB / 3.383 GB, free: 154.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008575/5.145, allocations: 0.5014 MB / 3.383 GB, free: 153.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/5.145, allocations: 34.56 kB / 3.383 GB, free: 153.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/5.145, allocations: 0 / 3.383 GB, free: 153.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.001082/5.146, allocations: 283.8 kB / 3.384 GB, free: 153.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/5.146, allocations: 63.28 kB / 3.384 GB, free: 153.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/5.146, allocations: 189.4 kB / 3.384 GB, free: 152.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/5.146, allocations: 29.7 kB / 3.384 GB, free: 152.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/5.146, allocations: 172 kB / 3.384 GB, free: 152.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/5.146, allocations: 51.2 kB / 3.384 GB, free: 152.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/5.146, allocations: 0 / 3.384 GB, free: 152.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/5.146, allocations: 334.8 kB / 3.385 GB, free: 152.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/5.146, allocations: 67.97 kB / 3.385 GB, free: 152.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/5.147, allocations: 139.7 kB / 3.385 GB, free: 152.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/5.147, allocations: 140.6 kB / 3.385 GB, free: 151.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/5.147, allocations: 0 / 3.385 GB, free: 151.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006946/5.148, allocations: 287.9 kB / 3.385 GB, free: 151.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/5.148, allocations: 4 kB / 3.385 GB, free: 151.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/5.148, allocations: 4 kB / 3.385 GB, free: 151.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/5.148, allocations: 4 kB / 3.385 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/5.148, allocations: 39.97 kB / 3.385 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/5.148, allocations: 7.938 kB / 3.385 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/5.148, allocations: 35.92 kB / 3.385 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/5.148, allocations: 15.98 kB / 3.385 GB, free: 151.6 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.776e-05/5.149, allocations: 105.7 kB / 3.385 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/5.149, allocations: 23.72 kB / 3.385 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007562/5.149, allocations: 323.2 kB / 3.386 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/5.149, allocations: 4 kB / 3.386 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/5.149, allocations: 0 / 3.386 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/5.149, allocations: 7.906 kB / 3.386 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/5.151, allocations: 1.235 MB / 3.387 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/5.151, allocations: 0 / 3.387 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/5.152, allocations: 39.97 kB / 3.387 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/5.152, allocations: 4 kB / 3.387 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/5.152, allocations: 4 kB / 3.387 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/5.152, allocations: 7.938 kB / 3.387 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/5.152, allocations: 4 kB / 3.387 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005777/5.152, allocations: 0.5344 MB / 3.388 GB, free: 149 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/5.152, allocations: 132.7 kB / 3.388 GB, free: 148.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/5.152, allocations: 7.938 kB / 3.388 GB, free: 148.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/5.153, allocations: 31.97 kB / 3.388 GB, free: 148.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/5.153, allocations: 15.89 kB / 3.388 GB, free: 148.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/5.153, allocations: 12 kB / 3.388 GB, free: 148.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001397/5.153, allocations: 153.2 kB / 3.388 GB, free: 148.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008615/5.154, allocations: 203.7 kB / 3.388 GB, free: 148.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002526/5.156, allocations: 1.412 MB / 3.389 GB, free: 147 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003305/5.157, allocations: 183.7 kB / 3.39 GB, free: 146.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/5.157, allocations: 4 kB / 3.39 GB, free: 146.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/5.157, allocations: 96.77 kB / 3.39 GB, free: 146.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/5.157, allocations: 100.4 kB / 3.39 GB, free: 146.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009696/5.158, allocations: 427.5 kB / 3.39 GB, free: 146.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/5.159, allocations: 0.8255 MB / 3.391 GB, free: 145.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/5.159, allocations: 0 / 3.391 GB, free: 145.3 MB / 1.151 GB Notification: Performance of Templates: time 0.01953/5.178, allocations: 12.24 MB / 3.403 GB, free: 133.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches