Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",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.005425/0.005425, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001318/0.001318, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.402/2.402, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.89 kB / 1.018 GB, free: 9.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6635, allocations: 151.6 MB / 1.166 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002713/0.6663, allocations: 1.902 MB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.6672, allocations: 0.6469 MB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.6673, allocations: 7.938 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.6675, allocations: 59.67 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.6677, allocations: 75.58 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.6679, allocations: 71.89 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.6685, allocations: 0.694 MB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.6686, allocations: 25.11 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.6689, allocations: 235.6 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.6693, allocations: 279.4 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.6694, allocations: 44 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.6694, allocations: 48 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.6696, allocations: 187.5 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.6698, allocations: 203.3 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.6703, allocations: 0.5176 MB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6703, allocations: 4 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6703, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6703, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001972/0.6723, allocations: 0.7675 MB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6723, allocations: 12.62 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.6724, allocations: 46.73 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.6725, allocations: 28.8 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.6729, allocations: 316.1 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.673, allocations: 28.17 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.6731, allocations: 28 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.6734, allocations: 179.4 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6734, allocations: 0 / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.6734, allocations: 4 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.6734, allocations: 4 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.6737, allocations: 140.6 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/0.678, allocations: 1.304 MB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.6794, allocations: 470.2 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.6795, allocations: 108.8 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.6796, allocations: 4 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.6796, allocations: 42.48 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.6796, allocations: 0 / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.0006506/0.6803, allocations: 351.8 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.6803, allocations: 55.41 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.6806, allocations: 294.5 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.6806, allocations: 37.7 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.6807, allocations: 137 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.6808, allocations: 75.33 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.681, allocations: 118.2 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6811, allocations: 342.8 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.6816, allocations: 277 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.6821, allocations: 320.5 kB / 1.176 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.6828, allocations: 438.7 kB / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6828, allocations: 3.938 kB / 1.177 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001128/0.6839, allocations: 0.694 MB / 1.177 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.684, allocations: 4 kB / 1.177 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.684, allocations: 3.984 kB / 1.177 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.684, allocations: 8.031 kB / 1.177 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.6848, allocations: 119.8 kB / 1.177 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.6848, allocations: 7.984 kB / 1.177 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.6861, allocations: 95.47 kB / 1.178 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.6862, allocations: 19.98 kB / 1.178 GB, free: 7.789 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 (61): * Single equations (assignments): 61 * 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.0001543/0.6864, allocations: 161.8 kB / 1.178 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.6864, allocations: 23.8 kB / 1.178 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.6865, allocations: 30.19 kB / 1.178 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6865, allocations: 0 / 1.178 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6865, allocations: 0 / 1.178 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6865, allocations: 3.938 kB / 1.178 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.6869, allocations: 429 kB / 1.178 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6869, allocations: 0 / 1.178 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.6872, allocations: 47.91 kB / 1.178 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6872, allocations: 4 kB / 1.178 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.6872, allocations: 8 kB / 1.178 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.6872, allocations: 4 kB / 1.178 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6872, allocations: 0 / 1.178 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.6879, allocations: 489.2 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.688, allocations: 112.9 kB / 1.179 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.688, allocations: 8 kB / 1.179 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/0.6886, allocations: 27.89 kB / 1.179 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.6887, allocations: 15.98 kB / 1.179 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.6887, allocations: 0 / 1.179 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001605/0.6889, allocations: 190 kB / 1.179 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.413e-06/0.6889, allocations: 0 / 1.179 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005323/0.6894, allocations: 207.9 kB / 1.179 GB, free: 5.969 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * 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.0008458/0.6903, allocations: 1.028 MB / 1.18 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007348/0.691, allocations: 460.9 kB / 1.181 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.691, allocations: 0 / 1.181 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.6912, allocations: 111.9 kB / 1.181 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.6917, allocations: 68.75 kB / 1.181 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/0.6971, allocations: 4.333 MB / 1.185 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.6974, allocations: 0.7675 MB / 1.186 GB, free: 15.08 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.6976, allocations: 90.2 kB / 1.186 GB, free: 14.99 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.6978, allocations: 91.39 kB / 1.186 GB, free: 14.9 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.6978, allocations: 3.938 kB / 1.186 GB, free: 14.89 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.725, allocations: 8.868 MB / 1.195 GB, free: 6.188 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.619, allocations: 17.5 kB / 1.195 GB, free: 6.172 MB / 0.92 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv --start-time 0 --stop-time 36000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14.4 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches