Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001365/0.001365, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001602/0.001602, allocations: 211.8 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.317/1.317, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.966/2.966, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3115, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002578/0.3141, allocations: 1.543 MB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3153, allocations: 0.7762 MB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.3154, allocations: 4 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.3154, allocations: 7.922 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.3154, allocations: 11.86 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3158, allocations: 103.6 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3159, allocations: 55.78 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.316, allocations: 8 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3161, allocations: 39.78 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.3162, allocations: 19.92 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3162, allocations: 4 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.3163, allocations: 71.92 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.3163, allocations: 11.94 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.3164, allocations: 19.92 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.3165, allocations: 107.8 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3165, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3165, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3165, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 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.0004317/0.317, allocations: 299.5 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.317, allocations: 12.03 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.3171, allocations: 38.73 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.3175, allocations: 44.84 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3177, allocations: 138.3 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3177, allocations: 4.375 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3177, allocations: 8.375 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.3179, allocations: 81.75 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.3179, allocations: 0 / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3179, allocations: 8 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3179, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.3182, allocations: 63.94 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.3186, allocations: 279.9 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.3189, allocations: 82.42 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.319, allocations: 36.92 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.319, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.319, allocations: 34.56 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.319, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004889/0.3195, allocations: 141.5 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3196, allocations: 55.41 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.3197, allocations: 124.2 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3197, allocations: 25.7 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.3197, allocations: 92.11 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.3198, allocations: 11.89 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.3198, allocations: 21.7 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3199, allocations: 322.8 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.3201, allocations: 31.98 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.3202, allocations: 31.98 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.3204, allocations: 64.81 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3204, allocations: 0 / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003125/0.3207, allocations: 117.5 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3207, allocations: 5.406 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3208, allocations: 0 / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3208, allocations: 0 / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3209, allocations: 23.91 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3209, allocations: 0 / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.321, allocations: 4 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.321, allocations: 7.984 kB / 1.368 GB, free: 8.945 MB / 1.061 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 8.328e-05/0.3211, allocations: 117.8 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.3211, allocations: 7.953 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.3211, allocations: 8 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3211, allocations: 336 / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3211, allocations: 0 / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3211, allocations: 0 / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3213, allocations: 160.6 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3213, allocations: 3.984 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3214, allocations: 19.97 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3214, allocations: 0 / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3215, allocations: 7.984 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3215, allocations: 0 / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3215, allocations: 4 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.3218, allocations: 211.3 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.3218, allocations: 11.94 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3219, allocations: 4 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.322, allocations: 4 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.322, allocations: 7.922 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.322, allocations: 4 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.3221, allocations: 91.27 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3221, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002535/0.3223, allocations: 39.86 kB / 1.369 GB, free: 8.176 MB / 1.061 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.0007085/0.323, allocations: 0.7591 MB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.3233, allocations: 63.94 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3233, allocations: 0 / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3235, allocations: 43.97 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3237, allocations: 4 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.3255, allocations: 1.483 MB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.065e-05/0.3256, allocations: 71.33 kB / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.598e-05/0.3257, allocations: 15.98 kB / 1.371 GB, free: 5.617 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.3257, allocations: 23.42 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.3257, allocations: 0 / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.3542, allocations: 2.753 MB / 1.374 GB, free: 2.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.45, allocations: 5.75 kB / 1.374 GB, free: 2.98 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.47027080412954]