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.001503/0.001503, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001893/0.001893, allocations: 193.4 kB / 16.13 MB, free: 6.703 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.661/2.661, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 59.91 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7211/0.7223, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.00325/0.7256, allocations: 1.982 MB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.7268, allocations: 0.6275 MB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.7269, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.7272, allocations: 51.73 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.7275, allocations: 67.64 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.7276, allocations: 55.94 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.7284, allocations: 0.7174 MB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.7285, allocations: 25.11 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.7288, allocations: 207.5 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.7291, allocations: 271.4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.7292, allocations: 27.98 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.7293, allocations: 28 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.7295, allocations: 167.5 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.7297, allocations: 187.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.7302, allocations: 492.5 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7302, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7302, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7302, allocations: 0 / 1.021 GB, free: 13.92 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.002166/0.7324, allocations: 0.7562 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7325, allocations: 12.03 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.7326, allocations: 32.56 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.7331, allocations: 316 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.7331, allocations: 20.36 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.7332, allocations: 35.98 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.7335, allocations: 169.1 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7335, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.7335, allocations: 8 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7335, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.7338, allocations: 152.6 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.7382, allocations: 1.304 MB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.7397, allocations: 470.3 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.7399, allocations: 124.7 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.7399, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7399, allocations: 34.56 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.7399, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0007477/0.7407, allocations: 351.2 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.7407, allocations: 55.41 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.741, allocations: 290.5 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.7411, allocations: 41.58 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.7412, allocations: 136.9 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.7413, allocations: 78.84 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.7415, allocations: 118.2 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7417, allocations: 334.8 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.7422, allocations: 272.9 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.7427, allocations: 328.6 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.7433, allocations: 438.7 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7434, allocations: 0 / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001174/0.7445, allocations: 0.6861 MB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7446, allocations: 7.938 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7446, allocations: 0 / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.7446, allocations: 4 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.7454, allocations: 127.8 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.7454, allocations: 8.031 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.7467, allocations: 87.34 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.7467, allocations: 15.98 kB / 1.028 GB, free: 6.949 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.0001915/0.7469, allocations: 162.3 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.747, allocations: 27.66 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.7471, allocations: 26.12 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7471, allocations: 4 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7471, allocations: 0 / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7471, allocations: 3.984 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.7476, allocations: 433 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7476, allocations: 0 / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.7479, allocations: 43.97 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.7479, allocations: 3.938 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.7479, allocations: 8 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7479, allocations: 0 / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7479, allocations: 11.98 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.7487, allocations: 483.6 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.7488, allocations: 116.7 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.7489, allocations: 4 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.7495, allocations: 31.86 kB / 1.029 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.7495, allocations: 11.92 kB / 1.029 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.7496, allocations: 8 kB / 1.029 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001976/0.7498, allocations: 193.9 kB / 1.029 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7498, allocations: 0 / 1.029 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005963/0.7504, allocations: 196 kB / 1.03 GB, free: 5.125 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.0001798/0.7506, allocations: 107.2 kB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008209/0.7514, allocations: 468.7 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7514, allocations: 0 / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.7516, allocations: 115.9 kB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.7522, allocations: 64.45 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.7539, allocations: 1.049 MB / 1.031 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.7544, allocations: 0.7677 MB / 1.032 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002824/0.7547, allocations: 90.2 kB / 1.032 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.7548, allocations: 31.42 kB / 1.032 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.7548, allocations: 0 / 1.032 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of Templates: time 0.01007/0.7649, allocations: 5.623 MB / 1.038 GB, free: 12.81 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