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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001817/0.001817, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.303/2.303, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5589/0.5602, allocations: 140.4 MB / 0.9492 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00239/0.5627, allocations: 1.585 MB / 0.9508 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.5636, allocations: 0.7608 MB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.5637, allocations: 0 / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.5637, allocations: 0 / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.5638, allocations: 14.67 kB / 0.9515 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.5642, allocations: 74.52 kB / 0.9516 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.5643, allocations: 59 kB / 0.9517 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.5644, allocations: 12.11 kB / 0.9517 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.71e-05/0.5645, allocations: 26.91 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.5645, allocations: 25.55 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.5646, allocations: 2.75 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.5647, allocations: 70.92 kB / 0.9518 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.5647, allocations: 9.938 kB / 0.9518 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.5648, allocations: 22.5 kB / 0.9518 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.5649, allocations: 93.88 kB / 0.9519 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5649, allocations: 4 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5649, allocations: 1.156 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5649, allocations: 0 / 0.9519 GB, free: 7.059 MB / 0.7169 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.0003645/0.5653, allocations: 377.9 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5654, allocations: 9.625 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.644e-05/0.5654, allocations: 36.12 kB / 0.9523 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.5657, allocations: 25.5 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.452e-05/0.5658, allocations: 184.2 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.5658, allocations: 1.969 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.5658, allocations: 1.938 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.5661, allocations: 87.31 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5661, allocations: 0.6875 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5661, allocations: 1.156 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.5661, allocations: 0 / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.5664, allocations: 67.52 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.5668, allocations: 325.4 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.567, allocations: 72.08 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.5672, allocations: 39.3 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.5672, allocations: 0 / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.5672, allocations: 31.84 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.5672, allocations: 0 / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004976/0.5677, allocations: 146.6 kB / 0.9533 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.5678, allocations: 52.88 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/0.5678, allocations: 116.5 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.5678, allocations: 25.7 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.5679, allocations: 94.75 kB / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.5679, allocations: 9.281 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.568, allocations: 22.23 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.568, allocations: 315.9 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5681, allocations: 33.19 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.5683, allocations: 34.25 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.5685, allocations: 68.88 kB / 0.954 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5685, allocations: 0 / 0.954 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000296/0.5688, allocations: 103.2 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5688, allocations: 7.188 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5688, allocations: 4 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5689, allocations: 0 / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.569, allocations: 22.05 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.569, allocations: 1.25 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.5691, allocations: 12.17 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.5691, allocations: 1.375 kB / 0.9542 GB, free: 4.941 MB / 0.7169 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.265e-05/0.5692, allocations: 116.3 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.5692, allocations: 10.31 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.5693, allocations: 11.59 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5693, allocations: 0 / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5693, allocations: 0 / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5693, allocations: 1.438 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.5694, allocations: 195 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5694, allocations: 0 / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5696, allocations: 18.03 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5696, allocations: 4.906 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.5696, allocations: 5.094 kB / 0.9545 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5696, allocations: 4.906 kB / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5696, allocations: 0 / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.5699, allocations: 206.4 kB / 0.9547 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.57, allocations: 82.45 kB / 0.9548 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.57, allocations: 3.984 kB / 0.9548 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5701, allocations: 4.094 kB / 0.9548 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.5701, allocations: 6.828 kB / 0.9548 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.5702, allocations: 1.094 kB / 0.9548 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.5702, allocations: 93.05 kB / 0.9549 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5702, allocations: 0 / 0.9549 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002802/0.5705, allocations: 32.78 kB / 0.9549 GB, free: 4.176 MB / 0.7169 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.0005305/0.571, allocations: 0.7608 MB / 0.9557 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.5713, allocations: 70.55 kB / 0.9557 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5714, allocations: 1.531 kB / 0.9557 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.5715, allocations: 51.91 kB / 0.9558 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.5718, allocations: 7.703 kB / 0.9558 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.5723, allocations: 224.6 kB / 0.956 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.5724, allocations: 0.6887 MB / 0.9567 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.197e-05/0.5725, allocations: 21.81 kB / 0.9567 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.5725, allocations: 23.17 kB / 0.9567 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5725, allocations: 0 / 0.9567 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/0.6816, allocations: 1.993 MB / 0.9587 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.6818, allocations: 206.2 kB / 0.9589 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.363, allocations: 5.766 kB / 0.9589 GB, free: 1.184 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > 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