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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 191.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.906/2.906, allocations: 495.7 MB / 0.7831 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=2500,variableFilter="time|senMasFlo.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=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 70.8 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3223, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1887/0.511, allocations: 170.2 MB / 1.473 GB, free: 6.996 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008745/0.5197, allocations: 7.229 MB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.5201, allocations: 15.88 kB / 1.48 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.5206, allocations: 174.7 kB / 1.48 GB, free: 15.56 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.5236, allocations: 1.331 MB / 1.482 GB, free: 14.22 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.5253, allocations: 0.6615 MB / 1.482 GB, free: 13.56 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009313/0.5262, allocations: 0.7641 MB / 1.483 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.5266, allocations: 243.1 kB / 1.483 GB, free: 12.56 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.5281, allocations: 0.7474 MB / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007839/0.5289, allocations: 442.4 kB / 1.485 GB, free: 11.38 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.529, allocations: 28 kB / 1.485 GB, free: 11.35 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.5313, allocations: 1.356 MB / 1.486 GB, free: 9.988 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.5315, allocations: 127.5 kB / 1.486 GB, free: 9.863 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.5317, allocations: 175.1 kB / 1.486 GB, free: 9.691 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.5332, allocations: 0.8956 MB / 1.487 GB, free: 8.793 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5332, allocations: 0 / 1.487 GB, free: 8.793 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5332, allocations: 0 / 1.487 GB, free: 8.793 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.5332, allocations: 0 / 1.487 GB, free: 8.793 MB / 1.186 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.001046/0.5342, allocations: 0.6407 MB / 1.488 GB, free: 8.121 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5343, allocations: 8.031 kB / 1.488 GB, free: 8.113 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.5353, allocations: 131.6 kB / 1.488 GB, free: 7.984 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.5358, allocations: 271.5 kB / 1.488 GB, free: 7.691 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.364e-05/0.5359, allocations: 58.34 kB / 1.488 GB, free: 7.629 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.536, allocations: 27.94 kB / 1.488 GB, free: 7.602 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/0.5367, allocations: 367.2 kB / 1.488 GB, free: 7.223 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5367, allocations: 3.938 kB / 1.488 GB, free: 7.219 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.5367, allocations: 16 kB / 1.489 GB, free: 7.203 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.5367, allocations: 8 kB / 1.489 GB, free: 7.195 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.5373, allocations: 273.7 kB / 1.489 GB, free: 6.926 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.5392, allocations: 1.461 MB / 1.49 GB, free: 5.34 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.5396, allocations: 186.5 kB / 1.49 GB, free: 5.148 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.5398, allocations: 108.8 kB / 1.49 GB, free: 5.039 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007689/0.5406, allocations: 131.8 kB / 1.491 GB, free: 4.91 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.5406, allocations: 38.56 kB / 1.491 GB, free: 4.863 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.5406, allocations: 0 / 1.491 GB, free: 4.863 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0009382/0.5416, allocations: 357.2 kB / 1.491 GB, free: 4.508 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.5416, allocations: 59.34 kB / 1.491 GB, free: 4.438 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.542, allocations: 312.5 kB / 1.491 GB, free: 4.129 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.542, allocations: 29.7 kB / 1.491 GB, free: 4.094 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.5421, allocations: 184.3 kB / 1.492 GB, free: 3.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.5422, allocations: 55.55 kB / 1.492 GB, free: 3.855 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.5423, allocations: 41.7 kB / 1.492 GB, free: 3.809 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5424, allocations: 342.8 kB / 1.492 GB, free: 3.465 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.5426, allocations: 87.86 kB / 1.492 GB, free: 3.379 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.5429, allocations: 152.3 kB / 1.492 GB, free: 3.211 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.5434, allocations: 248.8 kB / 1.492 GB, free: 2.949 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5434, allocations: 0 / 1.492 GB, free: 2.949 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000586/0.5439, allocations: 285.2 kB / 1.493 GB, free: 2.664 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.544, allocations: 8 kB / 1.493 GB, free: 2.656 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.544, allocations: 0 / 1.493 GB, free: 2.656 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.544, allocations: 4 kB / 1.493 GB, free: 2.652 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.5442, allocations: 47.91 kB / 1.493 GB, free: 2.605 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5442, allocations: 0 / 1.493 GB, free: 2.605 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.5444, allocations: 35.95 kB / 1.493 GB, free: 2.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.5444, allocations: 12 kB / 1.493 GB, free: 2.559 MB / 1.186 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.0001666/0.5446, allocations: 164.9 kB / 1.493 GB, free: 2.391 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.5447, allocations: 27.81 kB / 1.493 GB, free: 2.363 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.5454, allocations: 306.9 kB / 1.493 GB, free: 2.059 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.5454, allocations: 7.969 kB / 1.493 GB, free: 2.051 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5454, allocations: 8 kB / 1.493 GB, free: 2.043 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5454, allocations: 0 / 1.493 GB, free: 2.043 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.5468, allocations: 0.7839 MB / 1.494 GB, free: 1.188 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5468, allocations: 4 kB / 1.494 GB, free: 1.184 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.547, allocations: 39.91 kB / 1.494 GB, free: 1.145 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.547, allocations: 4 kB / 1.494 GB, free: 1.141 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.547, allocations: 11.94 kB / 1.494 GB, free: 1.129 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.547, allocations: 4 kB / 1.494 GB, free: 1.125 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.547, allocations: 4 kB / 1.494 GB, free: 1.121 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.5477, allocations: 405.3 kB / 1.495 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.5478, allocations: 55.77 kB / 1.495 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.5478, allocations: 11.94 kB / 1.495 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.5481, allocations: 11.98 kB / 1.495 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.5481, allocations: 15.97 kB / 1.495 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.5481, allocations: 8 kB / 1.495 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002307/0.5484, allocations: 227 kB / 1.495 GB, free: 372 kB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5484, allocations: 4 kB / 1.495 GB, free: 368 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.000488/0.5489, allocations: 127.7 kB / 1.495 GB, free: 240 kB / 1.186 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.0005511/0.5494, allocations: 224.7 kB / 1.495 GB, free: 8 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005282/0.5499, allocations: 212 kB / 1.495 GB, free: 15.8 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5499, allocations: 96 / 1.495 GB, free: 15.8 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.5502, allocations: 119.7 kB / 1.495 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/0.551, allocations: 171 kB / 1.496 GB, free: 15.52 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5521, allocations: 0.605 MB / 1.496 GB, free: 14.88 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.5525, allocations: 0.7834 MB / 1.497 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.5528, allocations: 78.88 kB / 1.497 GB, free: 13.98 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.5529, allocations: 27.44 kB / 1.497 GB, free: 13.96 MB / 1.201 GB Notification: Performance of SimCode: time 3.21e-07/0.5529, allocations: 4 kB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of Templates: time 0.01342/0.5663, allocations: 7.44 MB / 1.504 GB, free: 6.598 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.38687710557133]