Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.33/3.33, allocations: 0.4899 GB / 0.7915 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 76.52 kB / 1.149 GB, free: 26.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.351, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003884/0.3549, allocations: 1.929 MB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3562, allocations: 0.6937 MB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.3563, allocations: 7.938 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.3566, allocations: 63.66 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.3568, allocations: 67.58 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.3571, allocations: 75.83 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.3578, allocations: 0.6863 MB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.358, allocations: 21.11 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.3583, allocations: 239.6 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.3587, allocations: 279.4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/0.3588, allocations: 48 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.359, allocations: 48 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.3592, allocations: 191.5 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.3595, allocations: 211.3 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.3601, allocations: 0.4985 MB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3601, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3601, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3601, allocations: 7.938 kB / 1.326 GB, free: 13.8 MB / 1.029 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.002539/0.3627, allocations: 0.7752 MB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.3627, allocations: 11.98 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.365, allocations: 244.5 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.3656, allocations: 308.3 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.3656, allocations: 24.36 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.3657, allocations: 31.95 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.3661, allocations: 176.1 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3661, allocations: 0 / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.3661, allocations: 4 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3661, allocations: 4 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.3664, allocations: 144.6 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.3708, allocations: 1.304 MB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3722, allocations: 458.2 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.3724, allocations: 108.8 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3724, allocations: 4 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.3725, allocations: 34.56 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.3725, allocations: 0 / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007467/0.3732, allocations: 355.3 kB / 1.33 GB, free: 9.672 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3733, allocations: 51.41 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.3736, allocations: 294.5 kB / 1.33 GB, free: 9.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.3736, allocations: 37.7 kB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3738, allocations: 137 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3739, allocations: 83.28 kB / 1.331 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.3741, allocations: 118.2 kB / 1.331 GB, free: 8.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3743, allocations: 338.8 kB / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.3748, allocations: 269 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.3753, allocations: 320.6 kB / 1.332 GB, free: 8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.3761, allocations: 446.7 kB / 1.332 GB, free: 7.559 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3761, allocations: 3.938 kB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00124/0.3773, allocations: 0.6823 MB / 1.333 GB, free: 6.867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3773, allocations: 11.94 kB / 1.333 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3773, allocations: 0 / 1.333 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3773, allocations: 0 / 1.333 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.3781, allocations: 131.8 kB / 1.333 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3781, allocations: 4 kB / 1.333 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.3792, allocations: 79.5 kB / 1.333 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.3793, allocations: 23.98 kB / 1.333 GB, free: 6.621 MB / 1.029 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.0001896/0.3795, allocations: 165.6 kB / 1.333 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.3795, allocations: 23.8 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-05/0.3796, allocations: 26.19 kB / 1.333 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3796, allocations: 4 kB / 1.333 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3796, allocations: 0 / 1.333 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3796, allocations: 3.938 kB / 1.333 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.3801, allocations: 437 kB / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3801, allocations: 0 / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.3804, allocations: 43.97 kB / 1.334 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3804, allocations: 3.938 kB / 1.334 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.3804, allocations: 8 kB / 1.334 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3804, allocations: 0 / 1.334 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3804, allocations: 0 / 1.334 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.3811, allocations: 496.4 kB / 1.334 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3812, allocations: 112.8 kB / 1.334 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.3813, allocations: 8 kB / 1.334 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.3818, allocations: 15.98 kB / 1.334 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.3819, allocations: 7.984 kB / 1.334 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.3819, allocations: 4 kB / 1.334 GB, free: 5.195 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002006/0.3821, allocations: 197.9 kB / 1.334 GB, free: 5 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3821, allocations: 0 / 1.334 GB, free: 5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005721/0.3826, allocations: 200 kB / 1.335 GB, free: 4.805 MB / 1.029 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.0001364/0.3828, allocations: 115.1 kB / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000791/0.3836, allocations: 427 kB / 1.335 GB, free: 4.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3836, allocations: 0 / 1.335 GB, free: 4.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.3838, allocations: 119.8 kB / 1.335 GB, free: 4.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.3843, allocations: 66.67 kB / 1.335 GB, free: 4.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.3859, allocations: 0.9879 MB / 1.336 GB, free: 3.074 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3863, allocations: 0.7712 MB / 1.337 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.3865, allocations: 90.2 kB / 1.337 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3867, allocations: 31.36 kB / 1.337 GB, free: 2.156 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3867, allocations: 0 / 1.337 GB, free: 2.156 MB / 1.029 GB Notification: Performance of Templates: time 0.01113/0.3978, allocations: 6.095 MB / 1.343 GB, free: 12.1 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.594487646128982]