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.0008335/0.0008335, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008535/0.0008535, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9328/0.9328, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.716/1.716, allocations: 359 MB / 0.6037 GB, free: 11.11 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.583e-06/1.583e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.811e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002082/0.0021, allocations: 1.549 MB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.003089, allocations: 0.7718 MB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.003152, allocations: 0 / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.003185, allocations: 7.922 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.003255, allocations: 19.8 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.003615, allocations: 99.58 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.003734, allocations: 63.7 kB / 0.953 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00384, allocations: 15.94 kB / 0.953 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.003973, allocations: 35.91 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.004031, allocations: 31.89 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.004046, allocations: 0 / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.004158, allocations: 67.94 kB / 0.9531 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.00417, allocations: 4 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.004195, allocations: 23.92 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.004363, allocations: 115.6 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004365, allocations: 0 / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004367, allocations: 0 / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004371, allocations: 3.938 kB / 0.9532 GB, free: 0.6602 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.000375/0.004746, allocations: 307.6 kB / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.004792, allocations: 11.97 kB / 0.9536 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.004821, allocations: 34.75 kB / 0.9536 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.005093, allocations: 52.83 kB / 0.9536 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005255, allocations: 133.6 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.005263, allocations: 384 / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.005274, allocations: 4.375 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.005464, allocations: 74.2 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005472, allocations: 192 / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.005485, allocations: 8.125 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.005489, allocations: 4 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.005632, allocations: 63.94 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.005985, allocations: 283.7 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.006142, allocations: 74.47 kB / 0.9543 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.006217, allocations: 40.92 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.006235, allocations: 0 / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.006259, allocations: 38.56 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.00626, allocations: 0 / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003208/0.00658, allocations: 137.7 kB / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.00661, allocations: 51.41 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.00668, allocations: 125.2 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.006691, allocations: 29.7 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.006726, allocations: 92.09 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.006744, allocations: 7.891 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.006776, allocations: 25.7 kB / 0.9548 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.00685, allocations: 318.8 kB / 0.9551 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.006925, allocations: 35.97 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.759e-05/0.006993, allocations: 39.95 kB / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.007124, allocations: 64.81 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007126, allocations: 0 / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001775/0.007303, allocations: 109.5 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.007317, allocations: 8 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.007321, allocations: 0 / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.007333, allocations: 0 / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.007416, allocations: 19.97 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.007421, allocations: 0 / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.007459, allocations: 11.98 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.007468, allocations: 4 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.916e-05/0.007527, allocations: 109.8 kB / 0.9555 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.007543, allocations: 7.891 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.007583, allocations: 15.98 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.007585, allocations: 3.938 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.007589, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.007594, allocations: 4 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.007718, allocations: 156.5 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007719, allocations: 0 / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.007767, allocations: 23.92 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007769, allocations: 3.984 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.007778, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.007778, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007779, allocations: 4 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.007987, allocations: 199.4 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-06/0.007994, allocations: 4 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.008007, allocations: 4 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.008059, allocations: 7.984 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.008094, allocations: 8 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.0081, allocations: 3.984 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.00814, allocations: 99.27 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.00814, allocations: 0 / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001776/0.008318, allocations: 27.88 kB / 0.956 GB, free: 13.56 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.0004505/0.008769, allocations: 0.7707 MB / 0.9568 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.00896, allocations: 71.94 kB / 0.9568 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008962, allocations: 0 / 0.9568 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.009038, allocations: 47.89 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.0001995/0.009237, allocations: 0 / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.01048, 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.444e-05/0.01053, allocations: 71.34 kB / 0.9584 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.051e-05/0.01058, allocations: 15.98 kB / 0.9584 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.01063, allocations: 24.47 kB / 0.9584 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.01063, allocations: 0 / 0.9584 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.02495, allocations: 2.897 MB / 0.9613 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/6.998, allocations: 7.062 kB / 0.9613 GB, free: 8.215 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/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.081237250007689]