Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_9_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.007246/0.007246, allocations: 106.2 kB / 15.74 MB, free: 6 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.001726/0.001726, allocations: 199 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.72 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2251, allocations: 140.4 MB / 1.087 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002312/0.2275, allocations: 1.535 MB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2285, allocations: 0.7579 MB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.2286, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.2286, allocations: 11.92 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.2287, allocations: 11.88 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.229, allocations: 83.7 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.2291, allocations: 55.78 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.608e-05/0.2292, allocations: 11.98 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.2292, allocations: 31.86 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.2293, allocations: 27.84 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2293, allocations: 4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2295, allocations: 71.94 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.2295, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.2295, allocations: 27.84 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.2297, allocations: 94.58 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2297, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2297, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2297, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 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.0004126/0.2301, allocations: 384.1 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.2302, allocations: 8.031 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.2302, allocations: 34.75 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.2305, allocations: 28.8 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.2306, allocations: 172.2 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2306, allocations: 4.312 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2306, allocations: 12.38 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.2309, allocations: 77.75 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2309, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2309, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2309, allocations: 4 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.2312, allocations: 59.95 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.2316, allocations: 336.4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.2318, allocations: 74.47 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.232, allocations: 40.88 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.232, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.232, allocations: 38.55 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.232, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000484/0.2325, allocations: 133.5 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2326, allocations: 55.34 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.2327, allocations: 117.8 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.2327, allocations: 25.7 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.2327, allocations: 96.06 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2327, allocations: 7.906 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.2328, allocations: 17.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2329, allocations: 330.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2331, allocations: 27.98 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2332, allocations: 31.97 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.2335, allocations: 65.09 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2335, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002944/0.2338, allocations: 117.5 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.2338, allocations: 4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2338, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.2338, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.234, allocations: 19.97 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.234, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.234, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.2341, allocations: 7.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 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 7.399e-05/0.2341, allocations: 113.8 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.2342, allocations: 7.906 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.2342, allocations: 3.906 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2342, allocations: 4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2342, allocations: 4 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.2342, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2344, allocations: 193.5 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2344, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2345, allocations: 19.97 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2346, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2346, allocations: 3.984 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2346, allocations: 4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2346, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.2349, allocations: 199.4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.235, allocations: 89 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.235, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2351, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.2351, allocations: 11.98 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.2352, allocations: 7.938 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.2352, allocations: 91.27 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2352, allocations: 0 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002471/0.2355, allocations: 27.94 kB / 1.093 GB, free: 11.8 MB / 0.8575 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.0006154/0.2361, allocations: 0.7669 MB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.2364, allocations: 71.92 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2364, allocations: 0 / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.2366, allocations: 43.97 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.2368, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.2373, allocations: 208.8 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.2375, allocations: 0.6846 MB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.842e-05/0.2376, allocations: 16.31 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.2377, allocations: 27.42 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of SimCode: time 1.393e-06/0.2377, allocations: 0 / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1784/0.4161, allocations: 2.149 MB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.967, allocations: 8.047 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches