Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008189/0.0008189, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008149/0.0008149, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9285/0.9285, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.693/1.693, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.603e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001829/0.001845, allocations: 1.538 MB / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008808/0.002726, allocations: 0.7834 MB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.002777, allocations: 0 / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.002804, allocations: 3.938 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.002862, allocations: 19.84 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.003172, allocations: 111.5 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.816e-05/0.00327, allocations: 55.73 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.003364, allocations: 15.92 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.003476, allocations: 39.89 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.003527, allocations: 19.92 kB / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.00354, allocations: 4 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.003642, allocations: 67.94 kB / 0.9531 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.003654, allocations: 15.92 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.003675, allocations: 12 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.003821, allocations: 123.6 kB / 0.9533 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003823, allocations: 0 / 0.9533 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003824, allocations: 0 / 0.9533 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003827, allocations: 3.938 kB / 0.9533 GB, free: 0.6523 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003199/0.004147, allocations: 301.9 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.004183, allocations: 8.031 kB / 0.9536 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.004213, allocations: 42.73 kB / 0.9536 GB, free: 276 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.004486, allocations: 44.84 kB / 0.9536 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.004646, allocations: 131.4 kB / 0.9538 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.004655, allocations: 4.375 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.004667, allocations: 8.312 kB / 0.9538 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.004846, allocations: 82.12 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.004855, allocations: 192 / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.004867, allocations: 8.125 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.004871, allocations: 4 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.005011, allocations: 55.95 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.005354, allocations: 283.8 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.005507, allocations: 82.41 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.005581, allocations: 40.92 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.0056, allocations: 0 / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.005617, allocations: 30.56 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.005617, allocations: 0 / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003184/0.005936, allocations: 141.6 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.005963, allocations: 51.41 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.00603, allocations: 117.8 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006041, allocations: 25.7 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.006079, allocations: 96.08 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.006096, allocations: 7.891 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.006129, allocations: 21.7 kB / 0.9548 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.006207, allocations: 322.8 kB / 0.9551 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.00628, allocations: 35.97 kB / 0.9551 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.006345, allocations: 31.97 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.006473, allocations: 64.81 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.006475, allocations: 0 / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001687/0.006643, allocations: 113.5 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.006655, allocations: 8 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.00666, allocations: 0 / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.00667, allocations: 0 / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.006743, allocations: 11.98 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.006749, allocations: 7.922 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.006784, allocations: 8.328 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.006793, allocations: 7.984 kB / 0.9554 GB, free: 14.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.696e-05/0.00685, allocations: 113.8 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.006867, allocations: 7.891 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.006902, allocations: 15.92 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006904, allocations: 3.938 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.006907, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.006909, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.007028, allocations: 160.5 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007029, allocations: 4 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.007076, allocations: 19.97 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.007077, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.007084, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.007087, allocations: 3.984 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007088, allocations: 4 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.007287, allocations: 199.3 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.007295, allocations: 11.98 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.007308, allocations: 0 / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.007359, allocations: 8 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.007391, allocations: 7.984 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.007396, allocations: 4 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.007433, allocations: 101.8 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007433, allocations: 0 / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001757/0.007609, allocations: 35.86 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0004322/0.008041, allocations: 0.7591 MB / 0.9568 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.008233, allocations: 75.88 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008234, allocations: 0 / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.008307, allocations: 39.97 kB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.008492, allocations: 1.719 kB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.009615, allocations: 1.466 MB / 0.9583 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.00966, allocations: 75.33 kB / 0.9584 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.009708, allocations: 15.98 kB / 0.9584 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.009753, allocations: 24.81 kB / 0.9584 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.009754, allocations: 0 / 0.9584 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.02415, allocations: 2.893 MB / 0.9613 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/6.926, allocations: 4.062 kB / 0.9613 GB, free: 8.211 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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: 11.188121851533651]