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.001552/0.001552, allocations: 113.6 kB / 17.08 MB, free: 5.961 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.001584/0.001585, allocations: 194.2 kB / 20.03 MB, free: 3.039 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.426/1.426, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00233/0.00233, allocations: 80.02 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.026, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2253/1.251, allocations: 163.2 MB / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006786/1.258, allocations: 4.577 MB / 1.426 GB, free: 10.83 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005409/1.258, allocations: 13.94 kB / 1.426 GB, free: 10.82 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005321/1.259, allocations: 121.8 kB / 1.427 GB, free: 10.71 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/1.261, allocations: 0.5396 MB / 1.427 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/1.263, allocations: 0.7724 MB / 1.428 GB, free: 9.738 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001032/1.264, allocations: 0.5649 MB / 1.428 GB, free: 9.414 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/1.264, allocations: 224.2 kB / 1.429 GB, free: 9.281 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/1.266, allocations: 0.6605 MB / 1.429 GB, free: 8.848 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/1.267, allocations: 279.9 kB / 1.43 GB, free: 8.691 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/1.267, allocations: 22.19 kB / 1.43 GB, free: 8.688 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/1.269, allocations: 1.006 MB / 1.431 GB, free: 8.121 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/1.269, allocations: 92.81 kB / 1.431 GB, free: 8.059 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/1.269, allocations: 122.2 kB / 1.431 GB, free: 7.984 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/1.271, allocations: 0.7115 MB / 1.431 GB, free: 7.559 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.271, allocations: 5.234 kB / 1.431 GB, free: 7.555 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.344e-06/1.271, allocations: 0 / 1.431 GB, free: 7.555 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.452e-05/1.271, allocations: 0 / 1.431 GB, free: 7.555 MB / 1.123 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.001076/1.272, allocations: 0.6068 MB / 1.432 GB, free: 7 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.272, allocations: 9.125 kB / 1.432 GB, free: 7 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/1.273, allocations: 82.97 kB / 1.432 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/1.273, allocations: 288.8 kB / 1.432 GB, free: 6.684 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/1.273, allocations: 19.94 kB / 1.432 GB, free: 6.672 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/1.273, allocations: 17.84 kB / 1.432 GB, free: 6.668 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/1.274, allocations: 291.6 kB / 1.433 GB, free: 6.453 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.274, allocations: 0 / 1.433 GB, free: 6.453 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/1.274, allocations: 14.06 kB / 1.433 GB, free: 6.441 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/1.274, allocations: 13.91 kB / 1.433 GB, free: 6.434 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/1.274, allocations: 207.9 kB / 1.433 GB, free: 6.332 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/1.276, allocations: 1.243 MB / 1.434 GB, free: 5.203 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/1.276, allocations: 175.4 kB / 1.434 GB, free: 5.035 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/1.277, allocations: 111 kB / 1.434 GB, free: 4.957 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/1.277, allocations: 332.7 kB / 1.435 GB, free: 4.633 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/1.277, allocations: 40.75 kB / 1.435 GB, free: 4.586 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/1.277, allocations: 1.031 kB / 1.435 GB, free: 4.586 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.000816/1.278, allocations: 280.6 kB / 1.435 GB, free: 4.434 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.278, allocations: 161 kB / 1.435 GB, free: 4.242 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/1.279, allocations: 287.5 kB / 1.436 GB, free: 4.047 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/1.279, allocations: 28.23 kB / 1.436 GB, free: 4.016 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.279, allocations: 151.9 kB / 1.436 GB, free: 3.875 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/1.279, allocations: 45.62 kB / 1.436 GB, free: 3.836 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/1.279, allocations: 41.23 kB / 1.436 GB, free: 3.805 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.279, allocations: 341.3 kB / 1.436 GB, free: 3.469 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.279, allocations: 67.33 kB / 1.436 GB, free: 3.438 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/1.28, allocations: 143.1 kB / 1.436 GB, free: 3.316 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/1.28, allocations: 215.8 kB / 1.436 GB, free: 3.16 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.28, allocations: 4 kB / 1.437 GB, free: 3.156 MB / 1.123 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005492/1.281, allocations: 243.5 kB / 1.437 GB, free: 3.023 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.281, allocations: 9.281 kB / 1.437 GB, free: 3.023 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.281, allocations: 1.375 kB / 1.437 GB, free: 3.023 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.281, allocations: 2.844 kB / 1.437 GB, free: 3.023 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/1.281, allocations: 41.47 kB / 1.437 GB, free: 3.012 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.281, allocations: 6.562 kB / 1.437 GB, free: 3.008 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/1.281, allocations: 31 kB / 1.437 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/1.281, allocations: 12.94 kB / 1.437 GB, free: 2.984 MB / 1.123 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.000156/1.281, allocations: 150.3 kB / 1.437 GB, free: 2.848 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/1.281, allocations: 29.31 kB / 1.437 GB, free: 2.832 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/1.282, allocations: 186.2 kB / 1.437 GB, free: 2.691 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.282, allocations: 2.469 kB / 1.437 GB, free: 2.691 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.282, allocations: 1.156 kB / 1.437 GB, free: 2.691 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.282, allocations: 9.203 kB / 1.437 GB, free: 2.684 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/1.283, allocations: 0.8645 MB / 1.438 GB, free: 1.867 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/1.283, allocations: 6.438 kB / 1.438 GB, free: 1.863 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/1.283, allocations: 25.53 kB / 1.438 GB, free: 1.855 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.283, allocations: 5.219 kB / 1.438 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.283, allocations: 2.375 kB / 1.438 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.283, allocations: 2.406 kB / 1.438 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.283, allocations: 5.25 kB / 1.438 GB, free: 1.848 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/1.284, allocations: 338 kB / 1.438 GB, free: 1.582 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.284, allocations: 111.7 kB / 1.439 GB, free: 1.465 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/1.284, allocations: 7.109 kB / 1.439 GB, free: 1.461 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/1.284, allocations: 12.36 kB / 1.439 GB, free: 1.453 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/1.284, allocations: 9.438 kB / 1.439 GB, free: 1.449 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.284, allocations: 7.391 kB / 1.439 GB, free: 1.445 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002639/1.285, allocations: 237 kB / 1.439 GB, free: 1.293 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.21e-07/1.285, allocations: 0 / 1.439 GB, free: 1.293 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005257/1.285, allocations: 95.69 kB / 1.439 GB, free: 1.273 MB / 1.123 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.0006069/1.286, allocations: 228.9 kB / 1.439 GB, free: 1.121 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004268/1.286, allocations: 146.8 kB / 1.439 GB, free: 1.059 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.286, allocations: 4.062 kB / 1.439 GB, free: 1.055 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/1.286, allocations: 61.58 kB / 1.439 GB, free: 1.027 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/1.287, allocations: 136.2 kB / 1.439 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008965/1.288, allocations: 0.5346 MB / 1.44 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/1.288, allocations: 0.7508 MB / 1.441 GB, free: 15.81 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/1.288, allocations: 33.3 kB / 1.441 GB, free: 15.79 MB / 1.139 GB Notification: Performance of SimCode: time 1.924e-06/1.288, allocations: 0 / 1.441 GB, free: 15.79 MB / 1.139 GB Notification: Performance of Templates: time 0.00914/1.298, allocations: 5.25 MB / 1.446 GB, free: 11.86 MB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.656081314897165]