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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.0012/0.0012, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.187/2.187, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7573, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002365/0.7597, allocations: 1.544 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.7607, allocations: 0.7545 MB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.7608, allocations: 0 / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.7608, allocations: 5.766 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.7609, allocations: 11.8 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.7612, allocations: 95.92 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.287e-05/0.7613, allocations: 50.8 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.7614, allocations: 11.64 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.7615, allocations: 25.48 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.7616, allocations: 29.67 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.7616, allocations: 8.156 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.7618, allocations: 64.58 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.7618, allocations: 7.234 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.7618, allocations: 24.78 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.762, allocations: 95.62 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.762, allocations: 0 / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.762, allocations: 1.188 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7621, allocations: 0 / 1.091 GB, free: 3.742 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.0003933/0.7625, allocations: 374.9 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7625, allocations: 11.94 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.7628, allocations: 27.42 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.907e-05/0.7629, allocations: 177.1 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.7629, allocations: 1.594 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.7629, allocations: 2.562 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.7632, allocations: 82.59 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.7632, allocations: 7.938 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.7632, allocations: 1.109 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7632, allocations: 1.219 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.7635, allocations: 64.72 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.764, allocations: 334 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.7643, allocations: 71.69 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.7644, allocations: 38.67 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.7644, allocations: 1.234 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.7645, allocations: 39.92 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7645, allocations: 0 / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005286/0.765, allocations: 140.4 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.456e-05/0.765, allocations: 52.94 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.264e-05/0.7651, allocations: 121.5 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.7651, allocations: 25.7 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.7651, allocations: 87.98 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.7652, allocations: 6.234 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.7652, allocations: 22.83 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.7653, allocations: 317.9 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.7654, allocations: 28.48 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.7656, allocations: 36.83 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.7658, allocations: 73.98 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7658, allocations: 0 / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003206/0.7662, allocations: 117.1 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7662, allocations: 5 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7662, allocations: 1.359 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7662, allocations: 0 / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.7664, allocations: 16.75 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7664, allocations: 0 / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.7665, allocations: 11.36 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.7665, allocations: 4.172 kB / 1.093 GB, free: 1.855 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 5.758e-05/0.7665, allocations: 120.6 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.7666, allocations: 6.719 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.7666, allocations: 7.719 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7666, allocations: 0 / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7666, allocations: 1.844 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.7667, allocations: 86.7 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.7667, allocations: 1.922 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.7668, allocations: 10.28 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.7669, allocations: 10.39 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004038/0.7673, allocations: 187.8 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003469/0.7676, allocations: 276.2 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001498/0.7678, allocations: 34.19 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.7678, allocations: 96.84 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Backend: time 1.8e-07/0.7678, allocations: 0 / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.7684, allocations: 155 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003988/0.7688, allocations: 0.5846 MB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of Templates: time 0.004552/0.7734, allocations: 1.557 MB / 1.097 GB, free: 324 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (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 & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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