Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001173/0.001173, 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.001235/0.001235, allocations: 189.2 kB / 22.22 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.315/1.315, 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-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.936/2.936, allocations: 0.4893 GB / 0.7884 GB, free: 33.28 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.38 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3343, allocations: 174.9 MB / 1.316 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1878/0.5221, allocations: 163.9 MB / 1.476 GB, free: 5.105 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005796/0.5279, allocations: 4.627 MB / 1.481 GB, free: 480 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.5283, allocations: 11.88 kB / 1.481 GB, free: 468 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.5287, allocations: 135 kB / 1.481 GB, free: 332 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.5301, allocations: 0.572 MB / 1.481 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.5319, allocations: 0.8055 MB / 1.482 GB, free: 14.94 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007676/0.5327, allocations: 0.5845 MB / 1.483 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.533, allocations: 166.8 kB / 1.483 GB, free: 14.19 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.5345, allocations: 0.6929 MB / 1.484 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.535, allocations: 306.7 kB / 1.484 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.535, allocations: 20 kB / 1.484 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.5369, allocations: 1.111 MB / 1.485 GB, free: 12.06 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.537, allocations: 95.66 kB / 1.485 GB, free: 11.97 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.5371, allocations: 119.4 kB / 1.485 GB, free: 11.85 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.5383, allocations: 0.7166 MB / 1.486 GB, free: 11.13 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5383, allocations: 4 kB / 1.486 GB, free: 11.13 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5383, allocations: 0 / 1.486 GB, free: 11.13 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.5383, allocations: 3.938 kB / 1.486 GB, free: 11.12 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009779/0.5393, allocations: 0.5275 MB / 1.486 GB, free: 10.57 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5393, allocations: 8.031 kB / 1.486 GB, free: 10.56 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006667/0.54, allocations: 79.72 kB / 1.486 GB, free: 10.48 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.5404, allocations: 233.7 kB / 1.487 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.5404, allocations: 12 kB / 1.487 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.5405, allocations: 24 kB / 1.487 GB, free: 10.19 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.541, allocations: 296 kB / 1.487 GB, free: 9.875 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.541, allocations: 0 / 1.487 GB, free: 9.875 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.541, allocations: 4 kB / 1.487 GB, free: 9.871 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.541, allocations: 15.92 kB / 1.487 GB, free: 9.855 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.5415, allocations: 203.8 kB / 1.487 GB, free: 9.656 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.5431, allocations: 1.21 MB / 1.488 GB, free: 8.371 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.5434, allocations: 165 kB / 1.489 GB, free: 8.164 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.5436, allocations: 116.4 kB / 1.489 GB, free: 8.035 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/0.5442, allocations: 95.88 kB / 1.489 GB, free: 7.941 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.5443, allocations: 46.55 kB / 1.489 GB, free: 7.887 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.5443, allocations: 0 / 1.489 GB, free: 7.887 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007907/0.545, allocations: 285.6 kB / 1.489 GB, free: 7.602 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.5451, allocations: 158.2 kB / 1.489 GB, free: 7.41 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.5454, allocations: 284.2 kB / 1.489 GB, free: 7.129 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.5455, allocations: 29.7 kB / 1.489 GB, free: 7.094 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5456, allocations: 144 kB / 1.49 GB, free: 6.949 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.5456, allocations: 59.52 kB / 1.49 GB, free: 6.891 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.5457, allocations: 37.7 kB / 1.49 GB, free: 6.848 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5459, allocations: 342.8 kB / 1.49 GB, free: 6.504 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.546, allocations: 72.22 kB / 1.49 GB, free: 6.434 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.5463, allocations: 145.9 kB / 1.49 GB, free: 6.262 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.5467, allocations: 215.5 kB / 1.49 GB, free: 6.023 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5467, allocations: 3.938 kB / 1.49 GB, free: 6.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005115/0.5472, allocations: 237.2 kB / 1.491 GB, free: 5.781 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5472, allocations: 8.25 kB / 1.491 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5472, allocations: 4 kB / 1.491 GB, free: 5.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5472, allocations: 0 / 1.491 GB, free: 5.77 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.5474, allocations: 47.91 kB / 1.491 GB, free: 5.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5474, allocations: 0 / 1.491 GB, free: 5.723 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5476, allocations: 31.77 kB / 1.491 GB, free: 5.691 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.5476, allocations: 15.94 kB / 1.491 GB, free: 5.676 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001449/0.5478, allocations: 154.6 kB / 1.491 GB, free: 5.516 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.5479, allocations: 31.81 kB / 1.491 GB, free: 5.484 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.5484, allocations: 181.8 kB / 1.491 GB, free: 5.285 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5484, allocations: 4 kB / 1.491 GB, free: 5.281 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5484, allocations: 0 / 1.491 GB, free: 5.281 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5484, allocations: 0 / 1.491 GB, free: 5.281 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5494, allocations: 0.8344 MB / 1.492 GB, free: 4.379 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5494, allocations: 0 / 1.492 GB, free: 4.379 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.5496, allocations: 32.05 kB / 1.492 GB, free: 4.348 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5496, allocations: 3.938 kB / 1.492 GB, free: 4.344 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.5496, allocations: 8 kB / 1.492 GB, free: 4.336 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5496, allocations: 0 / 1.492 GB, free: 4.336 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5496, allocations: 4 kB / 1.492 GB, free: 4.332 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.5502, allocations: 331.7 kB / 1.492 GB, free: 3.977 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.5502, allocations: 39.81 kB / 1.492 GB, free: 3.938 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.5503, allocations: 12.02 kB / 1.492 GB, free: 3.926 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.5504, allocations: 7.984 kB / 1.492 GB, free: 3.918 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.5505, allocations: 16.02 kB / 1.492 GB, free: 3.902 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.5505, allocations: 7.938 kB / 1.492 GB, free: 3.895 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002433/0.5507, allocations: 235 kB / 1.493 GB, free: 3.668 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5507, allocations: 0 / 1.493 GB, free: 3.668 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004387/0.5512, allocations: 99.8 kB / 1.493 GB, free: 3.57 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005403/0.5517, allocations: 214.4 kB / 1.493 GB, free: 3.359 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.5521, allocations: 148 kB / 1.493 GB, free: 3.215 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5521, allocations: 0 / 1.493 GB, free: 3.215 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.5523, allocations: 59.84 kB / 1.493 GB, free: 3.156 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.553, allocations: 150.4 kB / 1.493 GB, free: 3.016 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.5538, allocations: 0.4884 MB / 1.494 GB, free: 2.48 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.5542, allocations: 0.7634 MB / 1.495 GB, free: 1.691 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.5543, allocations: 62.94 kB / 1.495 GB, free: 1.629 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.5544, allocations: 23.44 kB / 1.495 GB, free: 1.605 MB / 1.186 GB Notification: Performance of SimCode: time 2.9e-07/0.5544, allocations: 0 / 1.495 GB, free: 1.605 MB / 1.186 GB Notification: Performance of Templates: time 0.01063/0.565, allocations: 5.954 MB / 1.5 GB, free: 11.71 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.29529139213264]