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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 187.8 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.475/2.475, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.189/5.189, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 65.39 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5098, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.005331/0.5152, allocations: 1.596 MB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.5172, allocations: 0.7678 MB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.5174, allocations: 0 / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.456e-05/0.5175, allocations: 3.984 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.5177, allocations: 19.8 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.5186, allocations: 75.8 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.5188, allocations: 47.8 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.519, allocations: 15.98 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.5193, allocations: 27.91 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.5195, allocations: 19.92 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.5195, allocations: 7.938 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.5199, allocations: 63.95 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.52, allocations: 11.97 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.52, allocations: 19.88 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.5205, allocations: 104 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.5206, allocations: 3.938 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.719e-06/0.5206, allocations: 0 / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.5206, allocations: 0 / 1.055 GB, free: 5.855 MB / 0.8106 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.001112/0.5217, allocations: 379.2 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001024/0.5218, allocations: 12.62 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/0.5219, allocations: 30.75 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/0.5225, allocations: 28.81 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.5228, allocations: 172.4 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.5228, allocations: 4.375 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.5229, allocations: 4.375 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.5233, allocations: 73.77 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.5234, allocations: 0 / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.5234, allocations: 4 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.5234, allocations: 11.97 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.5238, allocations: 63.89 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.5246, allocations: 320.8 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.525, allocations: 70.53 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.5253, allocations: 40.92 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.5253, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.5254, allocations: 34.5 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.434e-06/0.5254, allocations: 4 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0008328/0.5262, allocations: 137.4 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.5263, allocations: 55.41 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.5265, allocations: 117.8 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.5266, allocations: 25.7 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.5267, allocations: 96.14 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.5267, allocations: 11.83 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.5268, allocations: 21.7 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.527, allocations: 318.8 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.5273, allocations: 31.97 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.5275, allocations: 39.97 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.528, allocations: 64.75 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.528, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005303/0.5285, allocations: 101.5 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.5286, allocations: 8 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5286, allocations: 3.984 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.5286, allocations: 4 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.5289, allocations: 11.98 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.5289, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.529, allocations: 7.984 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.5291, allocations: 4 kB / 1.057 GB, free: 3.352 MB / 0.8106 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 0.0002984/0.5294, allocations: 117.8 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.5295, allocations: 11.98 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.5295, allocations: 15.89 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5296, allocations: 3.938 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5296, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.5296, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.5299, allocations: 189.5 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5299, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.5301, allocations: 15.97 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5301, allocations: 4 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5302, allocations: 4 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5302, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5302, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.5307, allocations: 199.8 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.5308, allocations: 89.05 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.5309, allocations: 0 / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.5311, allocations: 11.98 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.5311, allocations: 3.938 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5312, allocations: 7.984 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.606e-05/0.5312, allocations: 95.2 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5313, allocations: 0 / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005057/0.5318, allocations: 28 kB / 1.058 GB, free: 2.469 MB / 0.8106 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.001118/0.5329, allocations: 0.763 MB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.5335, allocations: 79.88 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5335, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.5337, allocations: 39.95 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.5343, allocations: 0 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.5353, allocations: 228.7 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.5358, allocations: 0.6807 MB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00016/0.536, allocations: 19.97 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.5361, allocations: 19.42 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of SimCode: time 4.4e-07/0.5361, allocations: 0 / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07719/0.6133, allocations: 2 MB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004286/0.6138, allocations: 211.2 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.107/5.721, allocations: 4.062 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB (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 --timeout=50 --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) 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) Reference file matches