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.001505/0.001506, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.391/2.391, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 67.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5561/0.5575, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003545/0.5611, allocations: 1.522 MB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.5625, allocations: 0.7597 MB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.5626, allocations: 3.938 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/0.5627, allocations: 3.938 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.5628, allocations: 10.41 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.5633, allocations: 86.69 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.5634, allocations: 66.45 kB / 0.9521 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.5635, allocations: 13.61 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.5636, allocations: 26.86 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.733e-05/0.5637, allocations: 23.8 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.5637, allocations: 4.562 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.564, allocations: 66.7 kB / 0.9523 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.564, allocations: 9.125 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.564, allocations: 26.33 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.5643, allocations: 95.3 kB / 0.9524 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5643, allocations: 0 / 0.9524 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5643, allocations: 4 kB / 0.9524 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5643, allocations: 3.984 kB / 0.9524 GB, free: 7.09 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.0004864/0.5648, allocations: 370.9 kB / 0.9527 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.5649, allocations: 8.969 kB / 0.9527 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.5649, allocations: 31.94 kB / 0.9528 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.5654, allocations: 30.3 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.463e-05/0.5655, allocations: 184.3 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5655, allocations: 1.875 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.5656, allocations: 1.75 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.5659, allocations: 87.66 kB / 0.9531 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.5659, allocations: 0 / 0.9531 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.5659, allocations: 1.5 kB / 0.9531 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.566, allocations: 0 / 0.9531 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.5664, allocations: 66.3 kB / 0.9531 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.567, allocations: 329.6 kB / 0.9534 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.5672, allocations: 76.55 kB / 0.9535 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.5674, allocations: 38.58 kB / 0.9536 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5674, allocations: 1.281 kB / 0.9536 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.118e-05/0.5674, allocations: 31.78 kB / 0.9536 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5674, allocations: 0 / 0.9536 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005155/0.5679, allocations: 139.1 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.568, allocations: 51.41 kB / 0.9538 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.568, allocations: 125.4 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.5681, allocations: 25.7 kB / 0.9539 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.5681, allocations: 89.84 kB / 0.954 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.5681, allocations: 13.12 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.5682, allocations: 23.05 kB / 0.954 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.5682, allocations: 316 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.5684, allocations: 37.69 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.5685, allocations: 32.59 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.5688, allocations: 69.53 kB / 0.9545 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5688, allocations: 0 / 0.9545 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003135/0.5691, allocations: 99.53 kB / 0.9546 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5691, allocations: 4.656 kB / 0.9546 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5691, allocations: 4.328 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5691, allocations: 4.875 kB / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.5693, allocations: 17.92 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5693, allocations: 1.062 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/0.5694, allocations: 11.39 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.5694, allocations: 2.188 kB / 0.9546 GB, free: 4.973 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.428e-05/0.5695, allocations: 117.1 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.5695, allocations: 10.11 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.5696, allocations: 13.78 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5696, allocations: 1.031 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5696, allocations: 0.9688 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5696, allocations: 0 / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.5697, allocations: 191 kB / 0.9549 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5697, allocations: 1.281 kB / 0.9549 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5699, allocations: 16.78 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5699, allocations: 1.281 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5699, allocations: 5.156 kB / 0.9549 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5699, allocations: 9.234 kB / 0.955 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5699, allocations: 0 / 0.955 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.5702, allocations: 209.5 kB / 0.9552 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.5703, allocations: 78.45 kB / 0.9552 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.5703, allocations: 8.828 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5704, allocations: 4.312 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.5705, allocations: 5.266 kB / 0.9553 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.5705, allocations: 2.5 kB / 0.9553 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.5705, allocations: 92.58 kB / 0.9553 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5705, allocations: 0 / 0.9553 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003023/0.5708, allocations: 33.75 kB / 0.9554 GB, free: 4.203 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.000547/0.5714, allocations: 0.7589 MB / 0.9561 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.5717, allocations: 76.31 kB / 0.9562 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5717, allocations: 0 / 0.9562 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.5719, allocations: 44.77 kB / 0.9562 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.5722, allocations: 10.19 kB / 0.9562 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.5727, allocations: 207.8 kB / 0.9564 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.135e-05/0.5728, allocations: 0.6885 MB / 0.9571 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.704e-05/0.5729, allocations: 20.5 kB / 0.9571 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.573, allocations: 22.83 kB / 0.9572 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.573, allocations: 0.875 kB / 0.9572 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/0.7223, allocations: 2.107 MB / 0.9592 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.357, allocations: 10.58 kB / 0.9592 GB, free: 1.344 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