Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008941/0.0008941, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009301/0.0009301, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.577/2.577, allocations: 436.5 MB / 0.7104 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 15.94 kB / 0.8707 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6766/0.6769, allocations: 153.6 MB / 1.021 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.001873/0.6788, allocations: 1.523 MB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008908/0.6797, allocations: 0.5853 MB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.6798, allocations: 11.94 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.68, allocations: 55.73 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.6802, allocations: 51.81 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.6804, allocations: 59.86 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.6808, allocations: 403.4 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.6809, allocations: 25.11 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.6812, allocations: 195.7 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.6815, allocations: 231.4 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.6816, allocations: 24 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.6816, allocations: 24 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.6818, allocations: 155.6 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.6819, allocations: 77.58 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.6823, allocations: 369.1 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.6823, allocations: 3.938 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6823, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6823, allocations: 0 / 1.024 GB, free: 13.38 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.00194/0.6842, allocations: 0.7286 MB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.6843, allocations: 15.98 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.6844, allocations: 35.62 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.6849, allocations: 302.7 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.6849, allocations: 28.17 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.685, allocations: 31.95 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.6853, allocations: 183.4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.6853, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.6853, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6854, allocations: 7.984 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.6856, allocations: 144.6 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/0.69, allocations: 1.358 MB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.6914, allocations: 458.2 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.6914, allocations: 0 / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.6914, allocations: 42.55 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.163e-06/0.6914, allocations: 0 / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0006664/0.6921, allocations: 359.6 kB / 1.028 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.6922, allocations: 59.36 kB / 1.028 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.6925, allocations: 282.5 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.6925, allocations: 37.7 kB / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6927, allocations: 140.8 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/0.6928, allocations: 82.84 kB / 1.029 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.6928, allocations: 8 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6929, allocations: 338.8 kB / 1.029 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.6934, allocations: 269 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.6939, allocations: 320.6 kB / 1.029 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.6944, allocations: 306 kB / 1.03 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.6944, allocations: 0 / 1.03 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001116/0.6955, allocations: 0.69 MB / 1.03 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6955, allocations: 4 kB / 1.03 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6956, allocations: 0 / 1.03 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6956, allocations: 4 kB / 1.03 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/0.6963, allocations: 131.8 kB / 1.031 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6963, allocations: 7.953 kB / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.6976, allocations: 91.34 kB / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.6976, allocations: 15.98 kB / 1.031 GB, free: 6.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.6978, allocations: 161.8 kB / 1.031 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.6979, allocations: 23.72 kB / 1.031 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.6979, allocations: 26.17 kB / 1.031 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6979, allocations: 4 kB / 1.031 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6979, allocations: 0 / 1.031 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.698, allocations: 3.953 kB / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.6984, allocations: 429 kB / 1.031 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6984, allocations: 0 / 1.031 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.6986, allocations: 43.91 kB / 1.031 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6986, allocations: 4 kB / 1.031 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6987, allocations: 11.98 kB / 1.031 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6987, allocations: 4 kB / 1.031 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6987, allocations: 0 / 1.031 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.6993, allocations: 493 kB / 1.032 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.6994, allocations: 112.7 kB / 1.032 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.6995, allocations: 11.98 kB / 1.032 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.7, allocations: 23.97 kB / 1.032 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.7001, allocations: 11.92 kB / 1.032 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.7001, allocations: 7.938 kB / 1.032 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001557/0.7003, allocations: 189.9 kB / 1.032 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7003, allocations: 0 / 1.032 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005508/0.7008, allocations: 211.9 kB / 1.032 GB, free: 4.914 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001243/0.701, allocations: 103.2 kB / 1.032 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007531/0.7017, allocations: 459 kB / 1.033 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7017, allocations: 0 / 1.033 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.7019, allocations: 121.2 kB / 1.033 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.7023, allocations: 60.42 kB / 1.033 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.7039, allocations: 1.16 MB / 1.034 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.7042, allocations: 0.7796 MB / 1.035 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.7045, allocations: 90.2 kB / 1.035 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.7046, allocations: 31.41 kB / 1.035 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.7046, allocations: 0 / 1.035 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.008941/0.7136, allocations: 5.352 MB / 1.04 GB, free: 12.75 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches