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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001256/0.001256, allocations: 106.1 kB / 16.37 MB, free: 6.426 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.001258/0.001258, allocations: 197.3 kB / 17.31 MB, free: 5.801 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 66.92 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3055, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002715/0.3083, allocations: 1.538 MB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3094, allocations: 0.7566 MB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.3095, allocations: 4 kB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.3095, allocations: 7.875 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.3096, allocations: 15.84 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.31, allocations: 91.66 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.3101, allocations: 47.8 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3102, allocations: 23.88 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.3103, allocations: 19.92 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.3103, allocations: 27.86 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3103, allocations: 3.938 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3105, allocations: 71.94 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.3105, allocations: 15.98 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.3105, allocations: 15.88 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3107, allocations: 99.69 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3107, allocations: 4 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3107, allocations: 0 / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3107, allocations: 0 / 0.9538 GB, free: 5.297 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.0004435/0.3112, allocations: 375.3 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3112, allocations: 8.031 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.3115, allocations: 24.91 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3116, allocations: 172.2 kB / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3117, allocations: 384 / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3117, allocations: 4.375 kB / 0.9544 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.3119, allocations: 81.94 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3119, allocations: 0 / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.312, allocations: 7.938 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.312, allocations: 4 kB / 0.9545 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.3122, allocations: 67.94 kB / 0.9545 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.3127, allocations: 316.7 kB / 0.9548 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.3129, allocations: 78.47 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.3131, allocations: 44.91 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3131, allocations: 3.938 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3131, allocations: 30.56 kB / 0.955 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 3.737e-06/0.3131, allocations: 4 kB / 0.955 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004838/0.3136, allocations: 133.5 kB / 0.9551 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3137, allocations: 55.41 kB / 0.9552 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.3138, allocations: 117.8 kB / 0.9553 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3138, allocations: 25.7 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.3139, allocations: 96.05 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.3139, allocations: 11.84 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.3139, allocations: 21.7 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.314, allocations: 322.8 kB / 0.9557 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3142, allocations: 31.97 kB / 0.9558 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3143, allocations: 35.92 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.3145, allocations: 64.81 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3145, allocations: 0 / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000301/0.3148, allocations: 101.6 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3149, allocations: 8 kB / 0.956 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3149, allocations: 4 kB / 0.956 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3149, allocations: 4 kB / 0.956 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.315, allocations: 15.97 kB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.315, allocations: 0 / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.3151, allocations: 7.906 kB / 0.956 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3152, allocations: 7.984 kB / 0.956 GB, free: 2.832 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 8.248e-05/0.3152, allocations: 121.7 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.3153, allocations: 4 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.3153, allocations: 7.906 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3153, allocations: 0 / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3153, allocations: 0 / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3154, allocations: 3.984 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.3155, allocations: 197.5 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3156, allocations: 0 / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3157, allocations: 15.98 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3157, allocations: 4 kB / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3157, allocations: 7.984 kB / 0.9563 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3157, allocations: 0 / 0.9563 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3157, allocations: 3.938 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.316, allocations: 199.3 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.3161, allocations: 89.02 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3161, allocations: 0 / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3162, allocations: 11.92 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3163, allocations: 8.312 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3163, allocations: 4 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.3163, allocations: 95.64 kB / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3164, allocations: 0 / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002678/0.3166, allocations: 31.98 kB / 0.9568 GB, free: 1.941 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.0001892/0.3168, allocations: 123.2 kB / 0.9569 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3171, allocations: 75.92 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3172, allocations: 0 / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3173, allocations: 39.91 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3176, allocations: 15.94 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.318, allocations: 163.1 kB / 0.9572 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3183, allocations: 0.6807 MB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.454e-05/0.3183, allocations: 19.94 kB / 0.9578 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.3184, allocations: 15.42 kB / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3184, allocations: 0 / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of Templates: time 0.003172/0.3216, allocations: 1.096 MB / 0.9589 GB, free: 15.67 MB / 0.7481 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 -s cvode -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