Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001422/0.001422, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001574/0.001574, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.905/2.905, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [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.001873/0.001873, allocations: 72.39 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2918, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004813/0.2966, allocations: 3.797 MB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003914/0.3005, allocations: 2.594 MB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.3007, allocations: 19.81 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.3014, allocations: 250.4 kB / 1.361 GB, free: 1.277 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000926/0.3023, allocations: 0.5443 MB / 1.361 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3035, allocations: 0.5574 MB / 1.362 GB, free: 176 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.3049, allocations: 1.406 MB / 1.363 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.3051, allocations: 105.7 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.3056, allocations: 442.5 kB / 1.364 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.3063, allocations: 0.4903 MB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.3064, allocations: 56 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3065, allocations: 68 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.3069, allocations: 402.8 kB / 1.365 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.3073, allocations: 469.6 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009153/0.3082, allocations: 0.9568 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3082, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3082, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3083, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002168/0.3104, allocations: 1.24 MB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.3105, allocations: 8.031 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.3107, allocations: 108.3 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.3118, allocations: 0.6182 MB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.3118, allocations: 41.03 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/0.3119, allocations: 60.36 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.3125, allocations: 410.9 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3125, allocations: 7.938 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.3125, allocations: 16 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3125, allocations: 8 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.3129, allocations: 230.4 kB / 1.369 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.3159, allocations: 2.456 MB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3173, allocations: 0.5249 MB / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.3175, allocations: 149.3 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3176, allocations: 4 kB / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3176, allocations: 50.44 kB / 1.372 GB, free: 5.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.3176, allocations: 3.938 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001539/0.3191, allocations: 0.6515 MB / 1.372 GB, free: 4.926 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3192, allocations: 55.41 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3203, allocations: 0.935 MB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.3204, allocations: 37.7 kB / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.3207, allocations: 377.2 kB / 1.374 GB, free: 3.496 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3208, allocations: 119 kB / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.321, allocations: 170.6 kB / 1.374 GB, free: 3.207 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.3213, allocations: 394.7 kB / 1.374 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.3217, allocations: 241.8 kB / 1.375 GB, free: 2.574 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.3224, allocations: 0.643 MB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3236, allocations: 0.8914 MB / 1.376 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3236, allocations: 4 kB / 1.376 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001625/0.3252, allocations: 1.026 MB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3252, allocations: 12 kB / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.3252, allocations: 12.47 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003875/0.3256, allocations: 126.4 kB / 1.377 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.3262, allocations: 191.6 kB / 1.377 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/0.3296, allocations: 4.159 MB / 1.381 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.3304, allocations: 119.2 kB / 1.382 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.3305, allocations: 48.06 kB / 1.382 GB, free: 10.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.3308, allocations: 269.4 kB / 1.382 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3309, allocations: 87.39 kB / 1.382 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.331, allocations: 76.66 kB / 1.382 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.331, allocations: 7.984 kB / 1.382 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.331, allocations: 4 kB / 1.382 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.331, allocations: 7.984 kB / 1.382 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.3318, allocations: 0.6326 MB / 1.383 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3318, allocations: 0 / 1.383 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.3321, allocations: 59.95 kB / 1.383 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002855/0.3324, allocations: 106.5 kB / 1.383 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3324, allocations: 15.88 kB / 1.383 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003171/0.3355, allocations: 4.144 MB / 1.387 GB, free: 4.785 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3356, allocations: 0 / 1.387 GB, free: 4.785 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3366, allocations: 0.7523 MB / 1.388 GB, free: 4.008 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.3369, allocations: 139.2 kB / 1.388 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.337, allocations: 8 kB / 1.388 GB, free: 3.863 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.3375, allocations: 23.97 kB / 1.388 GB, free: 3.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.3375, allocations: 23.95 kB / 1.388 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.3376, allocations: 11.98 kB / 1.388 GB, free: 3.805 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008367/0.3384, allocations: 0.6278 MB / 1.388 GB, free: 3.184 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3384, allocations: 0 / 1.388 GB, free: 3.184 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007681/0.3392, allocations: 271.8 kB / 1.389 GB, free: 2.918 MB / 1.076 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],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.3393, allocations: 111.2 kB / 1.389 GB, free: 2.797 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.3406, allocations: 0.9006 MB / 1.39 GB, free: 1.859 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3406, allocations: 0 / 1.39 GB, free: 1.859 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.3412, allocations: 0.5154 MB / 1.39 GB, free: 1.305 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008095/0.342, allocations: 177 kB / 1.39 GB, free: 1.137 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.3445, allocations: 1.808 MB / 1.392 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.3451, allocations: 0.9917 MB / 1.393 GB, free: 14.27 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3452, allocations: 47.44 kB / 1.393 GB, free: 14.22 MB / 1.092 GB Notification: Performance of SimCode: time 3.71e-07/0.3452, allocations: 0 / 1.393 GB, free: 14.22 MB / 1.092 GB Notification: Performance of Templates: time 0.02022/0.3654, allocations: 17.75 MB / 1.41 GB, free: 12.5 MB / 1.108 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 11.882069562998367]