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: 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_10_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_10_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.001537/0.001537, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001974/0.001974, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.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.4/2.4, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 76.09 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7083, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002521/0.7109, allocations: 1.538 MB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.7121, allocations: 0.7605 MB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.7121, allocations: 4 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.7122, allocations: 3.938 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.7123, allocations: 15.86 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.7126, allocations: 91.64 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.7128, allocations: 47.8 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.7128, allocations: 19.92 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.7129, allocations: 23.92 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.713, allocations: 23.91 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.713, allocations: 4 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.7132, allocations: 63.95 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.7132, allocations: 7.922 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.7133, allocations: 27.86 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.7135, allocations: 95.62 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7135, allocations: 0 / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7135, allocations: 0 / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.7135, allocations: 4 kB / 1.17 GB, free: 1.066 MB / 0.8887 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.0004539/0.7139, allocations: 377.1 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.714, allocations: 8.625 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.7143, allocations: 32.81 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7144, allocations: 176.2 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.7145, allocations: 384 / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.7145, allocations: 4.375 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.7147, allocations: 85.94 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.7148, allocations: 0 / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7148, allocations: 0 / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.7148, allocations: 0 / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.7151, allocations: 71.94 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.7155, allocations: 316.8 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.7158, allocations: 74.53 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.716, allocations: 40.92 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.716, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.716, allocations: 38.5 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.716, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005295/0.7166, allocations: 141.5 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.7166, allocations: 51.41 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.7167, allocations: 121.8 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.7167, allocations: 25.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.7168, allocations: 88.14 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.7168, allocations: 3.906 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.7168, allocations: 21.7 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.7169, allocations: 318.8 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.7171, allocations: 35.92 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.7172, allocations: 31.97 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.7175, allocations: 76.75 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7175, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003365/0.7178, allocations: 109.5 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7179, allocations: 4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7179, allocations: 336 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7179, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.718, allocations: 19.97 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.718, allocations: 4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.7181, allocations: 8 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.7182, allocations: 3.984 kB / 1.172 GB, free: 14.6 MB / 0.9044 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 7.113e-05/0.7182, allocations: 113.8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.7183, allocations: 11.89 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.7183, allocations: 7.906 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7183, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7183, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.7184, allocations: 89.03 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.7184, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.7185, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.7186, allocations: 7.922 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004255/0.719, allocations: 200.8 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003758/0.7194, allocations: 270.7 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001449/0.7196, allocations: 35.97 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.607e-05/0.7196, allocations: 95.27 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Backend: time 3.91e-07/0.7196, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.7202, allocations: 150.3 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004568/0.7206, allocations: 0.5975 MB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Templates: time 0.003838/0.7245, allocations: 1.558 MB / 1.175 GB, free: 11.37 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (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 & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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