Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001461/0.001461, allocations: 113.9 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.001612/0.001612, allocations: 189.9 kB / 22.23 MB, free: 5.102 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.308/1.308, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.862/2.862, allocations: 496 MB / 0.7835 GB, free: 33.61 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-maint.12.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=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 65.11 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3046, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1923/0.4969, allocations: 170.2 MB / 1.474 GB, free: 6.93 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008855/0.5057, allocations: 7.228 MB / 1.481 GB, free: 15.68 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.5061, allocations: 19.88 kB / 1.481 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.5066, allocations: 166.7 kB / 1.481 GB, free: 15.5 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.5095, allocations: 1.327 MB / 1.482 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.511, allocations: 0.6726 MB / 1.483 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009452/0.5119, allocations: 0.768 MB / 1.483 GB, free: 12.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.5124, allocations: 239.1 kB / 1.484 GB, free: 12.49 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.5138, allocations: 0.7396 MB / 1.484 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007776/0.5146, allocations: 450.4 kB / 1.485 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.5146, allocations: 28 kB / 1.485 GB, free: 11.28 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.5167, allocations: 1.352 MB / 1.486 GB, free: 9.926 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.5169, allocations: 119.6 kB / 1.486 GB, free: 9.809 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.5171, allocations: 179.1 kB / 1.486 GB, free: 9.633 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.5184, allocations: 0.8995 MB / 1.487 GB, free: 8.73 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5184, allocations: 0 / 1.487 GB, free: 8.73 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5184, allocations: 4 kB / 1.487 GB, free: 8.727 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.5184, allocations: 4 kB / 1.487 GB, free: 8.723 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.001042/0.5194, allocations: 0.6329 MB / 1.488 GB, free: 8.059 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.5195, allocations: 8.922 kB / 1.488 GB, free: 8.051 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000969/0.5204, allocations: 127.6 kB / 1.488 GB, free: 7.926 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.521, allocations: 279.5 kB / 1.488 GB, free: 7.625 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.5211, allocations: 50.3 kB / 1.488 GB, free: 7.57 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.5211, allocations: 31.94 kB / 1.488 GB, free: 7.539 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.5218, allocations: 367.3 kB / 1.489 GB, free: 7.156 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5218, allocations: 0 / 1.489 GB, free: 7.156 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.5219, allocations: 12 kB / 1.489 GB, free: 7.145 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.5219, allocations: 11.98 kB / 1.489 GB, free: 7.133 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.5224, allocations: 273.7 kB / 1.489 GB, free: 6.863 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.5244, allocations: 1.457 MB / 1.491 GB, free: 5.281 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.5248, allocations: 185.1 kB / 1.491 GB, free: 5.094 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.525, allocations: 112.7 kB / 1.491 GB, free: 4.98 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/0.5257, allocations: 135.8 kB / 1.491 GB, free: 4.848 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5258, allocations: 38.56 kB / 1.491 GB, free: 4.801 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.5258, allocations: 0 / 1.491 GB, free: 4.801 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0009241/0.5267, allocations: 353.2 kB / 1.491 GB, free: 4.449 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.5267, allocations: 59.39 kB / 1.491 GB, free: 4.379 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.5271, allocations: 316.5 kB / 1.492 GB, free: 4.066 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.5271, allocations: 29.7 kB / 1.492 GB, free: 4.031 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5273, allocations: 188.3 kB / 1.492 GB, free: 3.844 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.5273, allocations: 55.55 kB / 1.492 GB, free: 3.789 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.5274, allocations: 45.7 kB / 1.492 GB, free: 3.738 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5275, allocations: 334.8 kB / 1.492 GB, free: 3.402 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.5277, allocations: 91.86 kB / 1.492 GB, free: 3.312 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.528, allocations: 148.2 kB / 1.493 GB, free: 3.148 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.5284, allocations: 241.8 kB / 1.493 GB, free: 2.891 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5284, allocations: 0 / 1.493 GB, free: 2.891 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000578/0.529, allocations: 292.8 kB / 1.493 GB, free: 2.602 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.529, allocations: 4 kB / 1.493 GB, free: 2.598 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.529, allocations: 0 / 1.493 GB, free: 2.598 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.529, allocations: 4.188 kB / 1.493 GB, free: 2.594 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.5292, allocations: 47.97 kB / 1.493 GB, free: 2.547 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.5292, allocations: 7.938 kB / 1.493 GB, free: 2.539 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.5295, allocations: 31.77 kB / 1.493 GB, free: 2.508 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.5295, allocations: 15.94 kB / 1.493 GB, free: 2.492 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.000153/0.5296, allocations: 153.7 kB / 1.493 GB, free: 2.332 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5297, allocations: 31.81 kB / 1.493 GB, free: 2.301 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.5304, allocations: 312.1 kB / 1.494 GB, free: 1.988 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5304, allocations: 4 kB / 1.494 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5304, allocations: 3.938 kB / 1.494 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5304, allocations: 3.984 kB / 1.494 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.5318, allocations: 0.7801 MB / 1.494 GB, free: 1.125 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5318, allocations: 48 / 1.494 GB, free: 1.125 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.5319, allocations: 39.95 kB / 1.494 GB, free: 1.086 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5319, allocations: 0 / 1.494 GB, free: 1.086 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.532, allocations: 12.16 kB / 1.494 GB, free: 1.074 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.532, allocations: 11.94 kB / 1.494 GB, free: 1.062 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.532, allocations: 4 kB / 1.494 GB, free: 1.059 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.5326, allocations: 402.2 kB / 1.495 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.5327, allocations: 55.77 kB / 1.495 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.5328, allocations: 11.94 kB / 1.495 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.533, allocations: 11.98 kB / 1.495 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.5331, allocations: 19.98 kB / 1.495 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.5331, allocations: 11.98 kB / 1.495 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002308/0.5333, allocations: 227 kB / 1.495 GB, free: 304 kB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5333, allocations: 0 / 1.495 GB, free: 304 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005018/0.5338, allocations: 127.7 kB / 1.495 GB, free: 176 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.0005684/0.5344, allocations: 229.4 kB / 1.495 GB, free: 15.95 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.5349, allocations: 215.7 kB / 1.496 GB, free: 15.73 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5349, allocations: 3.938 kB / 1.496 GB, free: 15.73 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.5352, allocations: 111.8 kB / 1.496 GB, free: 15.62 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/0.536, allocations: 166.8 kB / 1.496 GB, free: 15.46 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.537, allocations: 0.6012 MB / 1.497 GB, free: 14.82 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.5375, allocations: 0.7873 MB / 1.497 GB, free: 14 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.5377, allocations: 82.88 kB / 1.497 GB, free: 13.92 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.573e-05/0.5378, allocations: 31.44 kB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of SimCode: time 2.61e-07/0.5378, allocations: 0 / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of Templates: time 0.0138/0.5516, allocations: 7.441 MB / 1.505 GB, free: 6.535 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.337090871296823]