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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.447/2.447, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 71.89 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2327, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002608/0.2354, allocations: 1.537 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2365, allocations: 0.7575 MB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.2366, allocations: 8 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.2366, allocations: 3.938 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.2367, allocations: 15.84 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.237, allocations: 88.66 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.2371, allocations: 51.8 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.238e-05/0.2372, allocations: 12 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/0.2373, allocations: 35.84 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.2373, allocations: 23.86 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2373, allocations: 4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2375, allocations: 71.92 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.2375, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.2375, allocations: 23.86 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.2377, allocations: 99.97 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2377, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2377, allocations: 4 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2377, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 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.0004365/0.2382, allocations: 375.2 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2382, allocations: 8.031 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.2383, allocations: 34.73 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.2386, allocations: 28.81 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2387, allocations: 168.3 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.2387, allocations: 4.375 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2387, allocations: 384 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.239, allocations: 89.69 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.239, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.239, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.239, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.2392, allocations: 67.95 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.2397, allocations: 320.8 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.24, allocations: 78.47 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.2401, allocations: 32.94 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2401, allocations: 3.984 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2402, allocations: 34.56 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 4.85e-06/0.2402, allocations: 3.984 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000482/0.2407, allocations: 141.5 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2407, allocations: 51.41 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.2408, allocations: 117.8 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2408, allocations: 25.7 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.2409, allocations: 92.12 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.2409, allocations: 11.84 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.241, allocations: 21.7 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2411, allocations: 326.7 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2412, allocations: 31.98 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2413, allocations: 31.97 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.2416, allocations: 68.81 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2416, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002994/0.2419, allocations: 109.5 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2419, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2419, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2419, allocations: 4 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2421, allocations: 19.97 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2421, allocations: 3.938 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.2422, allocations: 4 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2422, allocations: 3.984 kB / 1.069 GB, free: 8.961 MB / 0.8262 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.212e-05/0.2423, allocations: 117.8 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.2423, allocations: 7.906 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.2424, allocations: 7.906 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2424, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2424, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2424, allocations: 4 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.2426, allocations: 193.5 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2426, allocations: 3.984 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.2427, allocations: 15.98 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2427, allocations: 0 / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2427, allocations: 3.984 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2427, allocations: 4 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2427, allocations: 7.922 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.2431, allocations: 199.4 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.2431, allocations: 85 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2432, allocations: 0 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2433, allocations: 15.94 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.2433, allocations: 7.984 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2433, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.2434, allocations: 95.27 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2434, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000237/0.2436, allocations: 28 kB / 1.07 GB, free: 8.082 MB / 0.8262 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.0006839/0.2443, allocations: 0.7595 MB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003073/0.2446, allocations: 87.89 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2446, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.2448, allocations: 39.97 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.245, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.2455, allocations: 200.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2458, allocations: 0.6884 MB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.209e-05/0.2459, allocations: 15.98 kB / 1.071 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.2459, allocations: 23.42 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2459, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9559/1.202, allocations: 2.116 MB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/13.02, allocations: 8 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB (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 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches