Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007143/0.007143, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001695/0.001695, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.89 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3421, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003043/0.3451, allocations: 1.537 MB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3465, allocations: 0.7638 MB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.3466, allocations: 0 / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.3466, allocations: 3.938 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.3467, allocations: 15.86 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.3471, allocations: 91.64 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3473, allocations: 51.73 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3474, allocations: 16 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3475, allocations: 23.91 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.754e-05/0.3476, allocations: 23.91 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.3476, allocations: 4 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3477, allocations: 63.95 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.3478, allocations: 15.92 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.3478, allocations: 19.86 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.348, allocations: 99.7 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.348, allocations: 0 / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.348, allocations: 8 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3481, allocations: 0 / 1.21 GB, free: 6.902 MB / 0.9669 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.0004878/0.3485, allocations: 367.3 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3486, allocations: 12.03 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.3489, allocations: 28.8 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3491, allocations: 180.2 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.3491, allocations: 4.375 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3491, allocations: 4.375 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.3494, allocations: 81.94 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3494, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3494, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3494, allocations: 4 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.3497, allocations: 63.95 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.3502, allocations: 324.7 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.3505, allocations: 74.53 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.3506, allocations: 36.94 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3507, allocations: 7.984 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3507, allocations: 34.55 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.3507, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005259/0.3512, allocations: 141.5 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3513, allocations: 55.41 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.3514, allocations: 121.7 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3514, allocations: 25.7 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3515, allocations: 92.12 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3515, allocations: 11.84 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.3516, allocations: 21.7 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3518, allocations: 322.8 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3519, allocations: 35.97 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.352, allocations: 27.97 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.3523, allocations: 72.81 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3523, allocations: 0 / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003144/0.3526, allocations: 109.5 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3526, allocations: 4 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3526, allocations: 0 / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3527, allocations: 0 / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3528, allocations: 19.98 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3528, allocations: 3.984 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.3529, allocations: 4 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3529, allocations: 7.984 kB / 1.213 GB, free: 4.426 MB / 0.9669 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 0.0001084/0.353, allocations: 113.8 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.3531, allocations: 7.906 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.3531, allocations: 11.91 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3531, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3532, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3532, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.3534, allocations: 185.6 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3534, allocations: 0 / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3535, allocations: 23.97 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3535, allocations: 0 / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3535, allocations: 7.984 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3535, allocations: 3.938 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3535, allocations: 4 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.3539, allocations: 195.3 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.354, allocations: 85.09 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.354, allocations: 0 / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3541, allocations: 11.94 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.3542, allocations: 3.984 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3542, allocations: 8 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.3542, allocations: 91.7 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3542, allocations: 0 / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002702/0.3545, allocations: 28 kB / 1.213 GB, free: 3.559 MB / 0.9669 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.0002096/0.3547, allocations: 123.5 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.355, allocations: 83.86 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3551, allocations: 3.938 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.3552, allocations: 36.06 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3555, allocations: 12.36 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.356, allocations: 172.8 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3563, allocations: 0.6807 MB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.12e-05/0.3564, allocations: 15.98 kB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.3565, allocations: 19.36 kB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3565, allocations: 0 / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of Templates: time 0.003569/0.3601, allocations: 1.109 MB / 1.216 GB, free: 1.258 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches