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.001269/0.001269, allocations: 108 kB / 15.6 MB, free: 132 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.001275/0.001275, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 72.22 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2282, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002234/0.2305, allocations: 1.537 MB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009066/0.2314, allocations: 0.7755 MB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.2315, allocations: 0 / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.2315, allocations: 11.92 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.2316, allocations: 7.875 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.2318, allocations: 91.59 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.2319, allocations: 51.8 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.232, allocations: 11.97 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.2321, allocations: 31.92 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.2322, allocations: 19.92 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.2322, allocations: 4 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2323, allocations: 71.88 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.2323, allocations: 7.984 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.2324, allocations: 23.88 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.2325, allocations: 96.03 kB / 1.056 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2325, allocations: 3.938 kB / 1.056 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2325, allocations: 0 / 1.056 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.2325, allocations: 0 / 1.056 GB, free: 5.547 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.000374/0.2329, allocations: 379.2 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.2329, allocations: 8.625 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.233, allocations: 38.69 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.2333, allocations: 28.81 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.819e-05/0.2333, allocations: 168.4 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.2334, allocations: 384 / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2334, allocations: 4.375 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.2336, allocations: 85.77 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2336, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2336, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2336, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.2339, allocations: 71.94 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.2343, allocations: 316.7 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.2345, allocations: 74.53 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.2347, allocations: 40.92 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2347, allocations: 0 / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.2347, allocations: 34.56 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.2347, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004646/0.2352, allocations: 141.6 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2352, allocations: 55.39 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.2353, allocations: 125.7 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2353, allocations: 29.64 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.2354, allocations: 88.14 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.2354, allocations: 15.81 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2354, allocations: 21.7 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.2355, allocations: 326.8 kB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.2356, allocations: 27.97 kB / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.2358, allocations: 35.95 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.236, allocations: 68.81 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.236, allocations: 0 / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002811/0.2363, allocations: 109.5 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2363, allocations: 4 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2363, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2363, allocations: 3.984 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2365, allocations: 19.98 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2365, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.2366, allocations: 7.984 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2366, allocations: 0 / 1.058 GB, free: 3.031 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 6.702e-05/0.2367, allocations: 113.8 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.2367, allocations: 8 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.2367, allocations: 7.891 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2367, allocations: 4 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2367, allocations: 4 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2367, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.2369, allocations: 189.5 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2369, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.237, allocations: 23.91 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.237, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2371, allocations: 4 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2371, allocations: 0 / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2371, allocations: 0 / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.2374, allocations: 207.4 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.2374, allocations: 81.02 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.2374, allocations: 4 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2376, allocations: 11.98 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.2376, allocations: 0 / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.2376, allocations: 11.92 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.2377, allocations: 95.27 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2377, allocations: 0 / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002399/0.2379, allocations: 24 kB / 1.059 GB, free: 2.16 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.0005761/0.2385, allocations: 0.763 MB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.2388, allocations: 75.94 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2388, allocations: 0 / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2389, allocations: 48.23 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.2392, allocations: 5.531 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.2396, allocations: 208.7 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.2398, allocations: 0.6807 MB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.845e-05/0.2399, allocations: 20.06 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.2399, allocations: 27.41 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.24, allocations: 0 / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.078/2.318, allocations: 2.117 MB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/14.88, allocations: 9.125 kB / 1.062 GB, free: 14.22 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