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.001474/0.001474, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00163/0.00163, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.336/1.336, allocations: 230.6 MB / 256 MB, free: 8.004 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.977/2.977, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.001861/0.001861, allocations: 65.34 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.325, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003045/0.328, allocations: 1.57 MB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3295, allocations: 0.8419 MB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.3296, allocations: 0 / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.3296, allocations: 7.875 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.677e-05/0.3297, allocations: 19.86 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.3301, allocations: 103.6 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3303, allocations: 55.78 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3304, allocations: 11.98 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3306, allocations: 31.88 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.3307, allocations: 31.84 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3307, allocations: 8 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.3308, allocations: 67.94 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.3309, allocations: 11.94 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.3309, allocations: 23.84 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3311, allocations: 107.9 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3311, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3311, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.3311, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.045 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.0004814/0.3316, allocations: 305.9 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3317, allocations: 12.03 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.3317, allocations: 34.75 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.3321, allocations: 44.83 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3324, allocations: 144.5 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3324, allocations: 4.375 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3324, allocations: 384 / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.3327, allocations: 81.77 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3327, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3327, allocations: 4 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3327, allocations: 0 / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.333, allocations: 63.94 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.3335, allocations: 299.8 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.3338, allocations: 70.53 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3339, allocations: 40.92 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3339, allocations: 4 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.334, allocations: 30.56 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.334, allocations: 4 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000517/0.3345, allocations: 133.5 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3345, allocations: 51.41 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3346, allocations: 121.8 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3347, allocations: 29.7 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.3347, allocations: 100 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3347, allocations: 7.891 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.3348, allocations: 25.7 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3349, allocations: 318.8 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3351, allocations: 31.97 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3352, allocations: 39.91 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3354, allocations: 64.81 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3354, allocations: 4 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002994/0.3357, allocations: 105.5 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3358, allocations: 8 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3358, allocations: 336 / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3358, allocations: 0 / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3359, allocations: 15.98 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3359, allocations: 0 / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.336, allocations: 15.98 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.336, allocations: 0 / 1.358 GB, free: 3.16 MB / 1.045 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 9.213e-05/0.3361, allocations: 121.7 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3361, allocations: 7.938 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.3362, allocations: 12 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3362, allocations: 0 / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3362, allocations: 0 / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3362, allocations: 4 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.3364, allocations: 168.5 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3364, allocations: 0 / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3366, allocations: 23.97 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3366, allocations: 0 / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3366, allocations: 0 / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3366, allocations: 3.938 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3366, allocations: 0 / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.3369, allocations: 211.4 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.3369, allocations: 4 kB / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.337, allocations: 3.984 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3371, allocations: 4 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.3371, allocations: 7.984 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3371, allocations: 4 kB / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.665e-05/0.3372, allocations: 102.2 kB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3372, allocations: 0 / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002613/0.3375, allocations: 31.88 kB / 1.358 GB, free: 2.395 MB / 1.045 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.0007372/0.3382, allocations: 0.763 MB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.3385, allocations: 75.92 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3385, allocations: 0 / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3387, allocations: 39.97 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3389, allocations: 7.938 kB / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.341, allocations: 1.475 MB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3413, allocations: 0.6807 MB / 1.361 GB, free: 15.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.775e-05/0.3414, allocations: 20.3 kB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.3414, allocations: 19.42 kB / 1.361 GB, free: 15.18 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3414, allocations: 0 / 1.361 GB, free: 15.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.369, allocations: 2.323 MB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.847/10.22, allocations: 11.08 kB / 1.364 GB, free: 12.99 MB / 1.061 GB " [Timeout remaining time 290] (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.280544615117833]