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.001568/0.001568, allocations: 115.3 kB / 15.34 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.002328/0.002328, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 68 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.352, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003253/0.3553, allocations: 1.975 MB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3564, allocations: 0.6352 MB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.3566, allocations: 4 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.3569, allocations: 51.73 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.3571, allocations: 59.66 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.3573, allocations: 67.86 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006795/0.358, allocations: 0.698 MB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3581, allocations: 32.89 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.3584, allocations: 235.5 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.3588, allocations: 287.4 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/0.3589, allocations: 48 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.192e-05/0.359, allocations: 47.94 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.3592, allocations: 183.6 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.3594, allocations: 227.2 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.3599, allocations: 498.9 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3599, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3599, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3599, allocations: 0 / 1.073 GB, free: 5.758 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.002144/0.362, allocations: 0.7695 MB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3621, allocations: 8.031 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3622, allocations: 36.66 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.3627, allocations: 312.2 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.3627, allocations: 24.36 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.3628, allocations: 32 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.3631, allocations: 179.4 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3631, allocations: 3.938 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3632, allocations: 4 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3632, allocations: 4 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.3634, allocations: 144.6 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004438/0.3679, allocations: 1.304 MB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.3693, allocations: 462.2 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.3695, allocations: 120.8 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3696, allocations: 4 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3696, allocations: 30.56 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 3.486e-06/0.3696, allocations: 0 / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0007009/0.3703, allocations: 359.6 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3704, allocations: 55.41 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.3706, allocations: 286.5 kB / 1.077 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.3707, allocations: 37.7 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3708, allocations: 144.8 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.3709, allocations: 67.02 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.3711, allocations: 122.2 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3713, allocations: 338.8 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.3718, allocations: 273 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.3722, allocations: 320.6 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/0.3729, allocations: 442.7 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.373, allocations: 0 / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001189/0.3742, allocations: 0.686 MB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3742, allocations: 9.344 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3742, allocations: 0 / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3742, allocations: 4 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.375, allocations: 127.8 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.375, allocations: 12.03 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.3764, allocations: 91.28 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.3764, allocations: 19.98 kB / 1.079 GB, free: 14.77 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.0001616/0.3766, allocations: 161.7 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.3766, allocations: 23.66 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.3767, allocations: 34.17 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3767, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3767, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3768, allocations: 7.984 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.3772, allocations: 425 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3772, allocations: 0 / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.3774, allocations: 35.97 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.3774, allocations: 7.938 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.3775, allocations: 11.98 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3775, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3775, allocations: 7.938 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006481/0.3781, allocations: 490.9 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.3782, allocations: 112.6 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.3783, allocations: 11.98 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.3789, allocations: 19.97 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.3789, allocations: 15.98 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.379, allocations: 8 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001722/0.3791, allocations: 189.9 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3791, allocations: 0 / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005374/0.3797, allocations: 199.9 kB / 1.081 GB, free: 12.95 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.0001301/0.3798, allocations: 107.2 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008205/0.3807, allocations: 490.9 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3807, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.3809, allocations: 121.6 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.3813, allocations: 64.61 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3828, allocations: 1.047 MB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3831, allocations: 0.7674 MB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000231/0.3834, allocations: 90.2 kB / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3835, allocations: 27.42 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3835, allocations: 0 / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.009646/0.3932, allocations: 5.954 MB / 1.089 GB, free: 4.277 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