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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001807/0.001808, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.25 kB / 0.9114 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4086, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003645/0.4123, allocations: 1.96 MB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.4136, allocations: 0.6276 MB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.4137, allocations: 3.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.4141, allocations: 55.73 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.4144, allocations: 67.64 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.4147, allocations: 63.92 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007613/0.4154, allocations: 0.7096 MB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.4156, allocations: 36.86 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.416, allocations: 203.6 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.4166, allocations: 275.3 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.4167, allocations: 24 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.4168, allocations: 24 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.417, allocations: 163.6 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.4173, allocations: 191.2 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.4178, allocations: 486.9 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4178, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4178, allocations: 4 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.4178, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 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.002322/0.4202, allocations: 0.7638 MB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4202, allocations: 8.031 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.4204, allocations: 32.66 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.4208, allocations: 312.2 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.4209, allocations: 24.36 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.421, allocations: 32 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.4213, allocations: 183.4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4213, allocations: 0 / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.4214, allocations: 7.938 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4214, allocations: 4 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.4216, allocations: 148.6 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.4262, allocations: 1.308 MB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.4277, allocations: 469.3 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.4279, allocations: 108.8 kB / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.4279, allocations: 4 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.4279, allocations: 34.55 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.4279, allocations: 4 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0007077/0.4286, allocations: 363.2 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.4287, allocations: 51.41 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.429, allocations: 290.5 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.429, allocations: 33.7 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4292, allocations: 136.8 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/0.4293, allocations: 78.98 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.4295, allocations: 118.2 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4296, allocations: 342.8 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.4301, allocations: 265 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.4306, allocations: 320.6 kB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.4313, allocations: 442.7 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4314, allocations: 3.938 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001206/0.4326, allocations: 0.686 MB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4326, allocations: 7.938 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4326, allocations: 0 / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4326, allocations: 7.984 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.4334, allocations: 123.8 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.4335, allocations: 0 / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4348, allocations: 103.2 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.4348, allocations: 19.98 kB / 1.079 GB, free: 15.03 MB / 0.8419 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.0001757/0.435, allocations: 155.5 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.4351, allocations: 27.64 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.4352, allocations: 30.19 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4352, allocations: 4 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4352, allocations: 0 / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4352, allocations: 3.938 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.4356, allocations: 425 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4356, allocations: 4 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.4359, allocations: 47.91 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4359, allocations: 3.938 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.4359, allocations: 4 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4359, allocations: 0 / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.436, allocations: 0 / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.4366, allocations: 484.2 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4368, allocations: 128.6 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.4368, allocations: 0 / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.4374, allocations: 23.97 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.4374, allocations: 11.97 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4375, allocations: 12 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001671/0.4376, allocations: 193.9 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4376, allocations: 0 / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005856/0.4382, allocations: 203.9 kB / 1.081 GB, free: 13.22 MB / 0.8419 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.0001602/0.4384, allocations: 111.2 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007967/0.4392, allocations: 462.9 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4392, allocations: 0 / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.4394, allocations: 111.9 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.44, allocations: 62.36 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.4415, allocations: 1.041 MB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.4419, allocations: 0.7677 MB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.4421, allocations: 90.2 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.4423, allocations: 35.41 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.4423, allocations: 0 / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of Templates: time 0.01041/0.4528, allocations: 5.622 MB / 1.089 GB, free: 4.902 MB / 0.8419 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches