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.001429/0.001429, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001343/0.001343, allocations: 198 kB / 16.91 MB, free: 6.184 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.207/2.207, allocations: 390.3 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 70.27 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.293, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00339/0.2965, allocations: 1.593 MB / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2978, allocations: 0.7566 MB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.2979, allocations: 4 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.2979, allocations: 0 / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.73e-05/0.2981, allocations: 11.86 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.2985, allocations: 75.8 kB / 0.9522 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2986, allocations: 59.72 kB / 0.9522 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2988, allocations: 15.89 kB / 0.9522 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2989, allocations: 23.92 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.299, allocations: 23.92 kB / 0.9523 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.299, allocations: 4 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2992, allocations: 71.92 kB / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2992, allocations: 7.938 kB / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.2992, allocations: 27.86 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.2994, allocations: 68.12 kB / 0.9525 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2994, allocations: 0 / 0.9525 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2994, allocations: 3.938 kB / 0.9525 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2994, allocations: 4 kB / 0.9525 GB, free: 6.484 MB / 0.7325 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.0005286/0.3, allocations: 371.3 kB / 0.9528 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3, allocations: 8.031 kB / 0.9528 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.3004, allocations: 20.91 kB / 0.9528 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3005, allocations: 180.2 kB / 0.953 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3006, allocations: 4.375 kB / 0.953 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3006, allocations: 4.375 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3008, allocations: 81.95 kB / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3009, allocations: 0 / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3009, allocations: 0 / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3009, allocations: 0 / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.3012, allocations: 75.88 kB / 0.9532 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.3018, allocations: 316.5 kB / 0.9535 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.302, allocations: 70.53 kB / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.3022, allocations: 44.92 kB / 0.9536 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3022, allocations: 3.938 kB / 0.9536 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.3022, allocations: 30.56 kB / 0.9536 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3023, allocations: 0 / 0.9536 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005353/0.3028, allocations: 141.5 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.3028, allocations: 59.33 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.3029, allocations: 117.8 kB / 0.9539 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.303, allocations: 25.7 kB / 0.9539 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.303, allocations: 92.05 kB / 0.954 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.303, allocations: 15.83 kB / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.3031, allocations: 21.7 kB / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3032, allocations: 318.8 kB / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3034, allocations: 35.97 kB / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.3035, allocations: 31.97 kB / 0.9544 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.3038, allocations: 68.75 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3038, allocations: 0 / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003258/0.3041, allocations: 97.97 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3041, allocations: 10.03 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3042, allocations: 0 / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3042, allocations: 0 / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3043, allocations: 19.97 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3043, allocations: 0 / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.3044, allocations: 15.89 kB / 0.9546 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3045, allocations: 7.984 kB / 0.9546 GB, free: 4.02 MB / 0.7325 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 9.271e-05/0.3046, allocations: 115.8 kB / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.3046, allocations: 3.984 kB / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.3047, allocations: 19.89 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3047, allocations: 0 / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3047, allocations: 0 / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3047, allocations: 0 / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.3049, allocations: 197.5 kB / 0.955 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3049, allocations: 4 kB / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.305, allocations: 19.91 kB / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3051, allocations: 3.938 kB / 0.955 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3051, allocations: 4 kB / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3051, allocations: 0 / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3051, allocations: 0 / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.3055, allocations: 211.3 kB / 0.9552 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.3055, allocations: 81.02 kB / 0.9553 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3055, allocations: 0 / 0.9553 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3057, allocations: 11.98 kB / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.3057, allocations: 4 kB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3057, allocations: 3.984 kB / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.3058, allocations: 95.27 kB / 0.9554 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3058, allocations: 0 / 0.9554 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000274/0.3061, allocations: 28 kB / 0.9554 GB, free: 3.133 MB / 0.7325 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.0002072/0.3063, allocations: 123.1 kB / 0.9555 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.3066, allocations: 79.88 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3066, allocations: 0 / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3068, allocations: 43.95 kB / 0.9557 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3071, allocations: 6.328 kB / 0.9557 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.3076, allocations: 208.8 kB / 0.9559 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3078, allocations: 0.6846 MB / 0.9565 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.3079, allocations: 15.42 kB / 0.9565 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3079, allocations: 0 / 0.9565 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of Templates: time 0.003205/0.3111, allocations: 1.297 MB / 0.9578 GB, free: 0.6211 MB / 0.7325 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) "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time