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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, 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.001315/0.001315, allocations: 196.3 kB / 16.25 MB, free: 6.625 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.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.694/2.694, allocations: 437 MB / 0.71 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.6963, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003134/0.6994, allocations: 1.967 MB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.7004, allocations: 0.6276 MB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.7005, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.7008, allocations: 47.75 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.701, allocations: 67.69 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.7012, allocations: 63.81 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005972/0.7018, allocations: 0.6941 MB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.7019, allocations: 33.11 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.7022, allocations: 231.5 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.7026, allocations: 287.4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.7026, allocations: 47.94 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.7027, allocations: 48 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.7029, allocations: 187.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.7031, allocations: 219.3 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.7036, allocations: 0.5005 MB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.7036, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7036, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7036, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 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.002038/0.7056, allocations: 0.7639 MB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7057, allocations: 8.031 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.7058, allocations: 36.56 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.7062, allocations: 316 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.7062, allocations: 20.36 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.7063, allocations: 28 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.7067, allocations: 184.6 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.7067, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.7067, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.7067, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.707, allocations: 148.5 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.7114, allocations: 1.304 MB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.7129, allocations: 470.2 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.7131, allocations: 108.8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.7131, allocations: 4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.7132, allocations: 34.56 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.7132, allocations: 4 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0006874/0.7139, allocations: 355.2 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7139, allocations: 55.41 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.7142, allocations: 290.5 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.7143, allocations: 41.64 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.7144, allocations: 132.9 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/0.7145, allocations: 78.84 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.7147, allocations: 122.2 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7148, allocations: 338.8 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.7153, allocations: 273 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.7158, allocations: 316.6 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.7165, allocations: 442.7 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7165, allocations: 0 / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001169/0.7177, allocations: 0.6862 MB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.7177, allocations: 11.88 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7177, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7177, allocations: 4 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.7185, allocations: 123.8 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.7185, allocations: 7.938 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.7198, allocations: 95.33 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.7199, allocations: 16 kB / 1.028 GB, free: 6.711 MB / 0.7794 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.00017/0.7201, allocations: 162.2 kB / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.7201, allocations: 23.66 kB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.925e-05/0.7202, allocations: 30.17 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7202, allocations: 0 / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7202, allocations: 0 / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7202, allocations: 0 / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.7206, allocations: 433 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7207, allocations: 4 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.7209, allocations: 39.97 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.7209, allocations: 7.938 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.721, allocations: 4 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.721, allocations: 4 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.721, allocations: 0 / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.7216, allocations: 488.9 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.7217, allocations: 112.7 kB / 1.029 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.7218, allocations: 11.98 kB / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.7224, allocations: 19.97 kB / 1.029 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.7224, allocations: 19.91 kB / 1.03 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.7225, allocations: 4 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001574/0.7226, allocations: 190 kB / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7226, allocations: 0 / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005337/0.7232, allocations: 203.9 kB / 1.03 GB, free: 4.898 MB / 0.7794 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.0001172/0.7233, allocations: 111.2 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008143/0.7241, allocations: 490.9 kB / 1.03 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7241, allocations: 0 / 1.03 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.7243, allocations: 117.6 kB / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.7248, allocations: 74.5 kB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.7264, allocations: 1.044 MB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.7267, allocations: 0.7636 MB / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.7269, allocations: 94.2 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.7271, allocations: 35.41 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7271, allocations: 0 / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of Templates: time 0.0108/0.7379, allocations: 5.945 MB / 1.038 GB, free: 12.23 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (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 & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches