Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_10_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.009559/0.009559, allocations: 100.5 kB / 15.73 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.001818/0.001818, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3407, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003031/0.3438, allocations: 1.525 MB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3451, allocations: 0.7605 MB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.3452, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.3453, allocations: 7.922 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.3454, allocations: 15.86 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.3458, allocations: 83.66 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3459, allocations: 59.72 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3461, allocations: 12 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3462, allocations: 27.91 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.3463, allocations: 23.92 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3463, allocations: 4 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.3465, allocations: 67.92 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.3465, allocations: 7.938 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.3466, allocations: 19.92 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3468, allocations: 106.5 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3468, allocations: 4 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.205e-06/0.3468, allocations: 4 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3469, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 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.0005344/0.3474, allocations: 376.1 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3474, allocations: 8.031 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.3475, allocations: 34.75 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.3478, allocations: 32.8 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.348, allocations: 176.2 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.348, allocations: 384 / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.348, allocations: 4.375 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.3483, allocations: 81.75 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3483, allocations: 0 / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3483, allocations: 0 / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3483, allocations: 4 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.3486, allocations: 67.89 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.3491, allocations: 312.8 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.3494, allocations: 82.47 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.3495, allocations: 32.94 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3495, allocations: 4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3496, allocations: 38.48 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3496, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005158/0.3501, allocations: 137.5 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3501, allocations: 51.41 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.3502, allocations: 117.8 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3503, allocations: 29.7 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.3503, allocations: 96.06 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3503, allocations: 3.906 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.3504, allocations: 25.7 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3505, allocations: 322.8 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3506, allocations: 27.98 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3508, allocations: 31.97 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.351, allocations: 68.75 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.351, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002997/0.3513, allocations: 109.5 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3514, allocations: 4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3514, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3514, allocations: 336 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.3515, allocations: 27.91 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3515, allocations: 0 / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.3516, allocations: 8 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3517, allocations: 11.97 kB / 1.171 GB, free: 2.012 MB / 0.92 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.298e-05/0.3517, allocations: 113.7 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3518, allocations: 7.906 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.3518, allocations: 19.89 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3519, allocations: 4 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3519, allocations: 0 / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3519, allocations: 0 / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3521, allocations: 197.2 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3521, allocations: 0 / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.3522, allocations: 19.97 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3522, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3522, allocations: 3.984 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3522, allocations: 4 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3522, allocations: 4 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.3526, allocations: 195.4 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.3526, allocations: 89 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3527, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3528, allocations: 8 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3528, allocations: 11.86 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3528, allocations: 4 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.3529, allocations: 91.27 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.3529, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002668/0.3532, allocations: 31.94 kB / 1.172 GB, free: 1.121 MB / 0.92 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.0006888/0.3539, allocations: 0.7553 MB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3542, allocations: 75.86 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3542, allocations: 8 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3544, allocations: 39.91 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3547, allocations: 4 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.3553, allocations: 208.8 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3556, allocations: 0.6885 MB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.42e-05/0.3557, allocations: 19.94 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.3558, allocations: 19.42 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3558, allocations: 0 / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.3761, allocations: 2.156 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/7.877, allocations: 13.34 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches